projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e006e9
)
libcollectdclient: Include <netinet/in.h>.
author
Florian Forster
<octo@collectd.org>
Fri, 5 May 2017 12:11:44 +0000
(14:11 +0200)
committer
Florian Forster
<octo@collectd.org>
Fri, 5 May 2017 12:11:44 +0000
(14:11 +0200)
We need to include this for a variety of symbols on FreeBSD.
src/libcollectdclient/server.c
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/server.c
b/src/libcollectdclient/server.c
index
50f6be1
..
dfe08de
100644
(file)
--- a/
src/libcollectdclient/server.c
+++ b/
src/libcollectdclient/server.c
@@
-38,6
+38,7
@@
#include <errno.h>
#include <net/if.h>
#include <netdb.h>
+#include <netinet/in.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>