summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-24 02:36:55 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-24 02:36:55 +0800
commitf5c3d61573abe8beae7934708de7d718aff476e9 (patch)
tree0f7a2c5fee9b1165873f19e595757926f3f7d2e0
parent003bc20d03d4fd330836d38112bc33ce89883cc9 (diff)
downloadpttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.tar
pttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.tar.gz
pttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.tar.bz2
pttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.tar.lz
pttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.tar.xz
pttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.tar.zst
pttbbs-f5c3d61573abe8beae7934708de7d718aff476e9.zip
to prevent some @#$$* by strange os (like linux), place our header files after os-dependent headers
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@642 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/bbs.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 600ad781..7b4b4319 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -34,22 +34,6 @@
#include <sys/sem.h>
#include <sys/msg.h>
-#include "config.h"
-#include "pttstruct.h"
-#include "common.h"
-#include "perm.h"
-#include "modes.h"
-#include "proto.h"
-#include "gomo.h"
-
-#ifdef _UTIL_C_
- #include "util.h"
-#endif
-
-#ifndef INCLUDE_VAR_H
- #include "var.h"
-#endif
-
/* os dependant include file, define */
#ifdef FreeBSD
#include <machine/limits.h>
@@ -66,4 +50,21 @@
strlcat(char *dst, const char *src, size_t size);
#endif
+/* our header */
+#include "config.h"
+#include "pttstruct.h"
+#include "common.h"
+#include "perm.h"
+#include "modes.h"
+#include "proto.h"
+#include "gomo.h"
+
+#ifdef _UTIL_C_
+ #include "util.h"
+#endif
+
+#ifndef INCLUDE_VAR_H
+ #include "var.h"
+#endif
+
#endif /* INCLUDE_BBS_H */