summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 619f181)
raw | patch | inline | side by side (parent: 619f181)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 3 Feb 2011 22:42:28 +0000 (23:42 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 3 Feb 2011 22:42:28 +0000 (23:42 +0100) |
src/common.c | patch | blob | history |
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