Procházet zdrojové kódy

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

tags/v0.99.beta14
Sam Hocevar sam před 17 roky
rodič
revize
3ab957dcc2
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. +3
    -2
      src/cacaserver.c

+ 3
- 2
src/cacaserver.c Zobrazit soubor

@@ -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


||||||
x
 
000:0
Načítá se…
Zrušit
Uložit