From 43446b735de35785de2e54c75f5cb013d9c92259 Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Sun, 12 Aug 2018 23:46:02 -0400 Subject: [PATCH] Fix a build warning on OpenBSD (Contributed by Theo Buehler) --- contrib/libtests/pngvalid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index e66f2fa61..53170f85b 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -21,6 +21,7 @@ #define _POSIX_SOURCE 1 #define _ISOC99_SOURCE 1 /* For floating point */ #define _GNU_SOURCE 1 /* For the floating point exception extension */ +#define _BSD_SOURCE 1 /* For the floating point exception extension */ #include #include