Unverified Commit 2386e541 authored by yoav-steinberg's avatar yoav-steinberg Committed by GitHub
Browse files

fix deprecation of _BSD_SOURCE feature test macro (#9861)

caused a build warning in linenoise since glibc 2.20
parent 9f9c7857
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
* *
*/ */
#define _DEFAULT_SOURCE /* For fchmod() */
#define _BSD_SOURCE /* For fchmod() */ #define _BSD_SOURCE /* For fchmod() */
#include <termios.h> #include <termios.h>
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment