From eb86d8ff553917f392c556ef3a4b846910b1a17a Mon Sep 17 00:00:00 2001 From: scw Date: Fri, 2 Apr 2004 08:23:19 +0000 Subject: Fix warning, including: Prototype differance of crypt() on linux. Adding _ISOC99_SOURCE to get declaration of snprintf() on linux. Including strings.h to get declaration of strcasecmp() on linux. Using mkstemp() instead of tempnam(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/bbs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/bbs.h') diff --git a/include/bbs.h b/include/bbs.h index 1132717f..20e4f091 100644 --- a/include/bbs.h +++ b/include/bbs.h @@ -46,7 +46,8 @@ #ifdef __linux__ #include #include - #include // for flock() + #include /* for flock() */ + #include /* for strcasecmp() */ size_t strlcpy(char *dst, const char *src, size_t size); -- cgit v1.2.3