projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call curl_global_init() in _init of plugins using curl
[collectd.git]
/
src
/
tcpconns.c
diff --git
a/src/tcpconns.c
b/src/tcpconns.c
index
d68cd09
..
78c337b
100644
(file)
--- a/
src/tcpconns.c
+++ b/
src/tcpconns.c
@@
-116,7
+116,11
@@
# include <netinet/tcp_var.h>
# include <netdb.h>
# include <arpa/inet.h>
# include <netinet/tcp_var.h>
# include <netdb.h>
# include <arpa/inet.h>
-# include <nlist.h>
+# if !defined(HAVE_BSD_NLIST_H) || !HAVE_BSD_NLIST_H
+# include <nlist.h>
+# else /* HAVE_BSD_NLIST_H */
+# include <bsd/nlist.h>
+# endif
# include <kvm.h>
#endif /* HAVE_LIBKVM_NLIST */
# include <kvm.h>
#endif /* HAVE_LIBKVM_NLIST */