more cleanup
[m6w6/libmemcached] / src / libmemcached / byteorder.cc
index aa2a33dfe9b9373f09b7f5049049115f5d90f207..6263a358aa351a1391f2a1088fabfe25541354a0 100644 (file)
 */
 
 #include "mem_config.h"
+
+#if HAVE_HTONLL && HAVE_ARPA_INET_H
+#  include <arpa/inet.h>
+#endif
+
 #include "libmemcached/byteorder.h"
 
 /* Byte swap a 64-bit number. */