fix deprecation of _BSD_SOURCE feature test macro (#9861)
caused a build warning in linenoise since glibc 2.20
This commit is contained in:
parent
9f9c78578f
commit
2386e54182
1
deps/linenoise/linenoise.c
vendored
1
deps/linenoise/linenoise.c
vendored
@ -103,6 +103,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define _DEFAULT_SOURCE /* For fchmod() */
|
||||
#define _BSD_SOURCE /* For fchmod() */
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user