projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba3deb
)
zeromq plugin: Include <arpa/inet.h> for htons().
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 6 Nov 2010 11:21:30 +0000
(12:21 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 6 Nov 2010 11:21:30 +0000
(12:21 +0100)
src/zeromq.c
patch
|
blob
|
history
diff --git
a/src/zeromq.c
b/src/zeromq.c
index
0c8e352
..
80a9850
100644
(file)
--- a/
src/zeromq.c
+++ b/
src/zeromq.c
@@
-29,6
+29,10
@@
#include "utils_cache.h"
#include "network.h"
+/* for htons() */
+#if HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
#include <pthread.h>
#include <zmq.h>