commit 13fb1d8c0e2ec94138a98d136b6824630eb36a43
parent 389180d13981f8c21424cd88b4cec0af79b55dcd
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Tue, 15 Jan 2019 14:05:30 +0530
Merge pull request #191 from szlin/master
Fix warning of implicit declaration of function 'strcasestr'
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -29,6 +29,9 @@
*/
#ifdef __linux__
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
#if defined(__arm__) || defined(__i386__)
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */
#endif