repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c840e
)
socket.c: we need netinet/in.h on some platforms
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 15 Aug 2014 01:56:39 +0000
(18:56 -0700)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 15 Aug 2014 01:56:39 +0000
(18:56 -0700)
lib/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/socket.c
b/lib/socket.c
index f8db957e0bb600510fcba27afc06dd04b2145c1b..1c1853c7cd7989cb84ea3f52774f2e0c6782b4a1 100644
(file)
--- a/
lib/socket.c
+++ b/
lib/socket.c
@@
-46,6
+46,10
@@
#include <sys/socket.h>
#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
#endif