diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-04-03 17:16:48 +0200 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-04-03 17:16:48 +0200 |
commit | 50a56d98f9728905f0725a5d112d5efb831eb572 (patch) | |
tree | c4d3909c7a82818d1e72eb500ffc1d2825451c93 | |
parent | 00cb54c9531737d542cc366cc9596a498c8d1ef6 (diff) | |
download | ratpoison-50a56d98f9728905f0725a5d112d5efb831eb572.zip |
Fix previous.
-rw-r--r-- | src/completions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/completions.c b/src/completions.c index b06db2b..4143b2d 100644 --- a/src/completions.c +++ b/src/completions.c @@ -18,12 +18,12 @@ * Boston, MA 02111-1307 USA */ -#include <strings.h> /* * Per POSIX strcasestr should be declared in strings.h - * glibc declares it in string.h instead. + * glibc declares it in string.h instead and needs _GNU_SOURCE */ #define _GNU_SOURCE +#include <strings.h> #include <string.h> #include "ratpoison.h" |