diff options
Diffstat (limited to 'src/completions.c')
-rw-r--r-- | src/completions.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/completions.c b/src/completions.c index 70a86d0..b06db2b 100644 --- a/src/completions.c +++ b/src/completions.c @@ -18,7 +18,11 @@ * Boston, MA 02111-1307 USA */ -#define _BSD_SOURCE +#include <strings.h> +/* + * Per POSIX strcasestr should be declared in strings.h + * glibc declares it in string.h instead. + */ #define _GNU_SOURCE #include <string.h> |