Commit 6819c339 authored by Giulio Benetti's avatar Giulio Benetti

Bug 1602288 - Fix build failure due to missing posix signal.h r=kjacobs

--HG--
extra : amend_source : 148bed5b8668929f9331ff7005f4042d743412bc
parent 7f5a0219
......@@ -21,7 +21,7 @@ ifeq ($(USE_PTHREADS),1)
endif
DEFAULT_COMPILER = gcc
DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE
DEFINES += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
ifeq ($(OS_TARGET),Android)
ifndef ANDROID_NDK
......
......@@ -358,6 +358,7 @@
'linux',
'_DEFAULT_SOURCE', # for <endian.h> functions, strdup, realpath, and getentropy
'_BSD_SOURCE', # for the above in glibc <= 2.19
'_POSIX_SOURCE', # for <signal.h>
],
}],
[ 'OS=="dragonfly" or OS=="freebsd"', {
......
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