From f5c3d61573abe8beae7934708de7d718aff476e9 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 23 Jan 2003 18:36:55 +0000 Subject: 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 --- include/bbs.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'include') 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 #include -#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 @@ -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 */ -- cgit v1.2.3