summaryrefslogtreecommitdiffstats
path: root/src/common/error_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/error_code.h')
-rw-r--r--src/common/error_code.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/error_code.h b/src/common/error_code.h
index e39122f8ce3..93a1bf31c00 100644
--- a/src/common/error_code.h
+++ b/src/common/error_code.h
@@ -16,9 +16,8 @@
#ifndef COMMON_CEPH_ERROR_CODE
#define COMMON_CEPH_ERROR_CODE
-#include <netdb.h>
-
-#include <boost/system.hpp>
+#include <boost/system/error_code.hpp>
+#include <boost/system/system_error.hpp>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"