diff --git a/src/oping.h b/src/oping.h
index 061aa5d41ebc646c8a517b94ecf227d99b70608a..c013a50f38d610a9e07d36dfc5529cfc1e5fda7c 100644 (file)
--- a/src/oping.h
+++ b/src/oping.h
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif