Browse Source

* cacaserver compilation fix on FreeBSD, courtesy of Alexis Ballier.

tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
3ab957dcc2
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/cacaserver.c

+ 3
- 2
src/cacaserver.c View File

@@ -25,13 +25,14 @@
/* for sockaddr_in (not included from arpa/inet.h in 10.3.9 SDK) */
# include <netinet/in.h>
# endif
#elif defined(HAVE_NETINET_IN_H)
# include <netinet/in.h>
#elif defined(HAVE_WINSOCK2_H)
# include <winsock2.h>
# include <ws2tcpip.h>
# define USE_WINSOCK 1
#endif
#if defined(HAVE_NETINET_IN_H)
# include <netinet/in.h>
#endif
#if defined(HAVE_UNISTD_H)
# include <unistd.h>
#endif


Loading…
Cancel
Save