diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-22 01:59:30 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-22 01:59:30 +0100 |
commit | d376c6c3db4e46bb04a26206ac9039101ad70af6 (patch) | |
tree | 5d9fe68055a68ab8a55201708311f6390a6a13d0 | |
parent | 710ce5f7d25c96fed0390227d75f28f0c662a1fa (diff) | |
download | ratpoison-d376c6c3db4e46bb04a26206ac9039101ad70af6.zip |
strcasestr was born in BSD land, contrary to what glibc says
strcasestr might be a portability problems, it is non-standard and some
C libraries out there might not provide it.
-rw-r--r-- | src/completions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/completions.c b/src/completions.c index 7320ae5..70a86d0 100644 --- a/src/completions.c +++ b/src/completions.c @@ -18,6 +18,7 @@ * Boston, MA 02111-1307 USA */ +#define _BSD_SOURCE #define _GNU_SOURCE #include <string.h> |