mirror of
https://github.com/janet-lang/janet
synced 2025-10-18 17:27:40 +00:00
Need to enable __BSD_VISIBLE on DragonFly in conjunction with -std=c99
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user