diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-09-06 12:10:38 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-09-06 12:10:38 +0100 |
commit | 25963316407ee678c8bcb40f3338029a68fe4b56 (patch) | |
tree | 5981937b365a17c5b55823722f67b35bb0f0a5d4 /frontends/gtk/Makefile | |
parent | 6ce6b62099458c10eab762777e5d812c895df5d4 (diff) | |
download | netsurf-25963316407ee678c8bcb40f3338029a68fe4b56.tar.gz netsurf-25963316407ee678c8bcb40f3338029a68fe4b56.tar.bz2 |
seems freebsd needs _XOPEN_SOURCE for math.h macros to be defined
Diffstat (limited to 'frontends/gtk/Makefile')
-rw-r--r-- | frontends/gtk/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/gtk/Makefile b/frontends/gtk/Makefile index c19720f94..72d748362 100644 --- a/frontends/gtk/Makefile +++ b/frontends/gtk/Makefile @@ -37,6 +37,7 @@ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \ $(GTKDEPFLAGS) \ -D_BSD_SOURCE \ -D_DEFAULT_SOURCE \ + -D_XOPEN_SOURCE=700 \ -D_POSIX_C_SOURCE=200809L \ -D_NETBSD_SOURCE \ -DGTK_RESPATH=\"$(NETSURF_GTK_RES_PATH)\" |