chiark / gitweb /
disorder.h: more consistent approach to function attributes
[disorder] / lib / speaker-protocol.h
index cd6a192bed9098165176be6d17e28811fe94d218..4a8d3aa643c1ecbc6b9864173d4b3c35af5a7b85 100644 (file)
@@ -26,7 +26,9 @@
 #define SPEAKER_PROTOCOL_H
 
 #include "byte-order.h"
-#include <netinet/in.h>
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
 
 /** @brief A message from the main server to the speaker, or vica versa */
 struct speaker_message {