Partially fix compilation for glibc under Linux
Probably won't work for musl and now -- is needed to separate options.
This commit is contained in:
parent
4304edc0f0
commit
5c74874352
@ -10,6 +10,11 @@
|
||||
* Dedication along with this software. If not, see
|
||||
* <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||
*/
|
||||
/* gepopt visibility for GLIBC */
|
||||
#if !defined(__OpenBSD__)
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
@ -10,6 +10,11 @@
|
||||
* Dedication along with this software. If not, see
|
||||
* <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||
*/
|
||||
/* gepopt visibility for GLIBC */
|
||||
#if !defined(__OpenBSD__)
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
5
julia.c
5
julia.c
@ -10,6 +10,11 @@
|
||||
* Dedication along with this software. If not, see
|
||||
* <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||
*/
|
||||
/* gepopt visibility for GLIBC */
|
||||
#if !defined(__OpenBSD__)
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <complex.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
|
@ -10,6 +10,11 @@
|
||||
* Dedication along with this software. If not, see
|
||||
* <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||
*/
|
||||
/* gepopt visibility for GLIBC */
|
||||
#if !defined(__OpenBSD__)
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
Loading…
Reference in New Issue
Block a user