chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disobedience/disobedience.h: Declare variables as `extern'.
[disorder]
/
lib
/
speaker-protocol.h
diff --git
a/lib/speaker-protocol.h
b/lib/speaker-protocol.h
index cd6a192bed9098165176be6d17e28811fe94d218..4a8d3aa643c1ecbc6b9864173d4b3c35af5a7b85 100644
(file)
--- a/
lib/speaker-protocol.h
+++ b/
lib/speaker-protocol.h
@@
-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 {