mirror of
https://github.com/jarun/nnn.git
synced 2025-01-25 02:06:50 +00:00
Fix warning of implicit declaration of function 'strcasestr'
According to manpage of strcasestr [1], the macro function needs to be added. [1] https://linux.die.net/man/3/strcasestr Signed-off-by: SZ Lin (林上智) <szlin@debian.org>
This commit is contained in:
parent
389180d139
commit
cbef31ce25
|
@ -29,6 +29,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
#endif
|
||||||
#if defined(__arm__) || defined(__i386__)
|
#if defined(__arm__) || defined(__i386__)
|
||||||
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */
|
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue