mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
src/common/dns_resolve.cc: reorder the includes
- dns_resolv.h should only be include after all the std-includes are made. Otherwise it will result into undefined structs/variables on FreeBSD/Clang Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
e5b3ee0b79
commit
4557585447
@ -11,7 +11,6 @@
|
||||
* Foundation. See file COPYING.
|
||||
*
|
||||
*/
|
||||
#include "dns_resolve.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
@ -19,6 +18,8 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <resolv.h>
|
||||
|
||||
#include "dns_resolve.h"
|
||||
|
||||
#include "acconfig.h"
|
||||
#include "common/debug.h"
|
||||
#include "msg/msg_types.h"
|
||||
|
Loading…
Reference in New Issue
Block a user