projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a18cb
)
build: use _DEFAULT_SOURCE
author
Jo-Philipp Wich
<jo@mein.io>
Tue, 21 Aug 2018 12:24:48 +0000
(14:24 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 21 Aug 2018 12:36:39 +0000
(14:36 +0200)
Add _DEFAULT_SOURCE FTM in order to avoid warnings with recent glibc.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
file.c
patch
|
blob
|
history
main.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 8ccf98258677fc8214f7d62f970715ac2fad8b7e..2f829f158ce78d81411cd08cc3dde109d1ba2d10 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-17,6
+17,7
@@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _DARWIN_C_SOURCE
#define _XOPEN_SOURCE 700
diff --git
a/main.c
b/main.c
index fb2766576e8f84890dac44a9208cfaad3add0769..11b33ffab8baf4e0608cdb3069f43a526c146aa4 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-17,6
+17,7
@@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
#define _XOPEN_SOURCE 700