git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c2e8c8a
)
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
author
Timothy Redaelli
<timothy.redaelli@gmail.com>
Wed, 25 Apr 2012 12:07:24 +0000 (14:07 +0200)
committer
Timothy Redaelli
<timothy.redaelli@gmail.com>
Wed, 25 Apr 2012 12:07:24 +0000 (14:07 +0200)
src/compat.h
patch
|
blob
|
history
diff --git
a/src/compat.h
b/src/compat.h
index
db34044
..
804a814
100644
(file)
--- a/
src/compat.h
+++ b/
src/compat.h
@@
-21,10
+21,8
@@
#include <arpa/inet.h>
#include <netdb.h>
#include <net/if.h>
-#include <ifaddrs.h>
-#endif
-#ifdef BSD
#include <netinet/in.h>
+#include <ifaddrs.h>
#endif
typedef u_int SOCKET;