浏览代码

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

tags/v0.99.beta14
Sam Hocevar sam 17 年前
父节点
当前提交
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) */
# 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


正在加载...
取消
保存