diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-26 18:12:12 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-26 18:12:12 +0800 |
commit | 2e97729c2196fa6ecbb4928734781c0e688219ab (patch) | |
tree | f984486bf1762dbbe6f45cc54ff6b0492c487e1a /include/osdep.h | |
parent | 2a2078146f1e079732cd1a471e064d34a4399890 (diff) | |
download | pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.tar pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.tar.gz pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.tar.bz2 pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.tar.lz pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.tar.xz pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.tar.zst pttbbs-2e97729c2196fa6ecbb4928734781c0e688219ab.zip |
- (internal) moving more bbs-independent code to utility library.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4023 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/osdep.h')
-rw-r--r-- | include/osdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osdep.h b/include/osdep.h index 3aa93e7b..351d55af 100644 --- a/include/osdep.h +++ b/include/osdep.h @@ -16,7 +16,9 @@ #elif defined(__linux__) +#ifndef _GNU_SOURCE #define _GNU_SOURCE /* for strcasestr */ +#endif #include <sys/ioctl.h> #include <sys/file.h> /* for flock() */ #include <strings.h> /* for strcasecmp() */ |