diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-10 21:47:45 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-10 21:47:45 +0800 |
commit | 91cc2285dea7480b293aa32690a5df9a3e91bc16 (patch) | |
tree | 738a07f10f28810a48f65e9b847d6c5d735bae4b | |
parent | 8f04bf22056fdec5d8b5083e7a95773fa7ce2f96 (diff) | |
download | pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.tar pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.tar.gz pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.tar.bz2 pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.tar.lz pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.tar.xz pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.tar.zst pttbbs-91cc2285dea7480b293aa32690a5df9a3e91bc16.zip |
* fix compile error on linux
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbslua.c | 1 | ||||
-rw-r--r-- | mbbsd/mbbsd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/bbslua.c b/mbbsd/bbslua.c index b17c44fc..1d09c271 100644 --- a/mbbsd/bbslua.c +++ b/mbbsd/bbslua.c @@ -56,6 +56,7 @@ #include "bbs.h" #include "fnv_hash.h" +#include <sys/time.h> #include <lua.h> #include <lualib.h> diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index f460b7e1..e9ace21f 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -3,6 +3,7 @@ #include "banip.h" #include "logind.h" #include <sys/wait.h> +#include <netinet/tcp.h> #ifdef __linux__ # ifdef CRITICAL_MEMORY |