projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f9443
)
olsrd plugin: Include <netinet/tcp.h>.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 24 May 2009 22:21:59 +0000
(
00:21
+0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 24 May 2009 22:21:59 +0000
(
00:21
+0200)
src/olsrd.c
patch
|
blob
|
history
diff --git
a/src/olsrd.c
b/src/olsrd.c
index
d9a6b17
..
be422ab
100644
(file)
--- a/
src/olsrd.c
+++ b/
src/olsrd.c
@@
-24,8
+24,10
@@
#include "plugin.h"
#include <sys/types.h>
-#include <sys/socket.h>
#include <netdb.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
#define OLSRD_DEFAULT_NODE "localhost"
#define OLSRD_DEFAULT_SERVICE "2006"