Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2386e541
Unverified
Commit
2386e541
authored
Nov 29, 2021
by
yoav-steinberg
Committed by
GitHub
Nov 29, 2021
Browse files
fix deprecation of _BSD_SOURCE feature test macro (#9861)
caused a build warning in linenoise since glibc 2.20
parent
9f9c7857
Changes
1
Hide whitespace changes
Inline
Side-by-side
deps/linenoise/linenoise.c
View file @
2386e541
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment