Просмотр исходного кода

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

tags/v0.99.beta14
Sam Hocevar sam 18 лет назад
Родитель
Сommit
3ab957dcc2
1 измененных файлов: 3 добавлений и 2 удалений
  1. +3
    -2
      src/cacaserver.c

+ 3
- 2
src/cacaserver.c Просмотреть файл

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


Загрузка…
Отмена
Сохранить