summaryrefslogtreecommitdiffstats
path: root/innbbsd/clibrary.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-27 14:40:38 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-27 14:40:38 +0800
commit76f9d9fac2cfa43c7d819e147440987fa77e923a (patch)
tree2934d3f6e263c08ca71fb46236ceb5cdee22d2b1 /innbbsd/clibrary.h
parentac692184aeabcf341bff7ebb340328a56a9bc23d (diff)
downloadpttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.tar
pttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.tar.gz
pttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.tar.bz2
pttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.tar.lz
pttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.tar.xz
pttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.tar.zst
pttbbs-76f9d9fac2cfa43c7d819e147440987fa77e923a.zip
use stdio.h, stdlib.h, unistd.h, string.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/clibrary.h')
-rw-r--r--innbbsd/clibrary.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/innbbsd/clibrary.h b/innbbsd/clibrary.h
index 92ec82e0..df913aff 100644
--- a/innbbsd/clibrary.h
+++ b/innbbsd/clibrary.h
@@ -84,6 +84,11 @@ typedef struct _FDSET {
/* =()<#define FREEVAL @<FREEVAL>@>()= */
#define FREEVAL int
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+#if 0 /* old style, use stdio, stdlib, unistd, string now */
extern int optind;
extern char *optarg;
#if !defined(__STDC__)
@@ -129,3 +134,4 @@ extern int qsort();
extern int sleep();
/* =()<extern @<_EXITVAL>@ _exit();>()= */
extern int _exit();
+#endif