diff --git a/src/common.c b/src/common.c
index 142d7979adf1fc2c02e6a54d9a4bdc8483598c4e..6fdb441c95af1ed952267d674e8d7f240f289dc5 100644 (file)
--- a/src/common.c
+++ b/src/common.c
# include <math.h>
#endif
-/* for ntohl and htonl */
-#if HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#endif
-
/* for getaddrinfo */
#include <sys/types.h>
#include <sys/socket.h>
# include <netinet/in.h>
#endif
+/* for ntohl and htonl */
+#if HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
+
#ifdef HAVE_LIBKSTAT
extern kstat_ctl_t *kc;
#endif