1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-12 16:40:27 +00:00

Need to enable __BSD_VISIBLE on DragonFly in conjunction with -std=c99

This commit is contained in:
Charlotte Koch 2023-03-07 06:40:58 -08:00
parent 01aab66667
commit 8b16b9b246

View File

@ -61,4 +61,9 @@
#define _NETBSD_SOURCE
#endif
/* Needed for several things when building with -std=c99. */
#if !__BSD_VISIBLE && defined(__DragonFly__)
#define __BSD_VISIBLE 1
#endif
#endif