diff options
author | Cosmin Truta <ctruta@gmail.com> | 2018-08-12 23:46:02 -0400 |
---|---|---|
committer | Cosmin Truta <ctruta@gmail.com> | 2018-08-12 23:46:02 -0400 |
commit | 43446b735de35785de2e54c75f5cb013d9c92259 (patch) | |
tree | 77e6933308ad14b2c59361cb3609165645b3bcc2 /contrib | |
parent | 6c059f8f5ba69e3f87c6f15ab3959f21e212c495 (diff) | |
download | libpng-43446b735de35785de2e54c75f5cb013d9c92259.tar.gz |
Fix a build warning on OpenBSD
(Contributed by Theo Buehler)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libtests/pngvalid.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <signal.h> #include <stdio.h> |