Browse Source

Merge pull request #1146 from drizztbsd/posix-include

We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
0.8
Pieter Wuille 13 years ago
parent
commit
287ce61dc2
  1. 4
      src/compat.h

4
src/compat.h

@ -21,10 +21,8 @@ @@ -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;

Loading…
Cancel
Save