diff options
| author | 2006-12-24 11:18:02 +0000 | |
|---|---|---|
| committer | 2006-12-24 11:18:02 +0000 | |
| commit | dfcfcb6f0e5c2a7193be3a860464d0c7123cd26c (patch) | |
| tree | a799b203c25c42f76b38309de6f0d6cba338ef25 /src/inspircd.cpp | |
| parent | Change argument parsing to use getopt_long_only(). (diff) | |
Added a comment /* GNUs smell */ to an #ifdef linux makes us put in
(what sort of craqsmoker puts posix standard functions that belong in unistd.h into getopt.h but only on linux? muppets).
#ifdef _GNU_SOURCE
#include <getopt.h>
#endif .....
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6094 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 9c2eef295..27ffd11be 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -30,6 +30,7 @@ #include <dlfcn.h> #ifdef _GNU_SOURCE +/* GNUs smell. */ #include <getopt.h> #endif |
