Pārlūkot izejas kodu

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

tags/v0.99.beta14
Sam Hocevar sam pirms 18 gadiem
vecāks
revīzija
3ab957dcc2
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      src/cacaserver.c

+ 3
- 2
src/cacaserver.c Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt