mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-30 09:15:16 +02:00
Added support for BSD variants
This commit is contained in:
parent
221c0130b6
commit
08a78c3c27
@ -28,11 +28,17 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
/* #include <errno.h> */
|
/* #include <errno.h> */
|
||||||
|
|
||||||
#ifdef __MACH__
|
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||||
# include "../include/features.h"
|
# include <sys/param.h>
|
||||||
#else
|
# if defined(__APPLE__) && defined(__MACH__)
|
||||||
# include <features.h>
|
# include "../include/features.h"
|
||||||
#endif /* __MACH__ */
|
# elif(BSD)
|
||||||
|
/* BSD (DragonFly BSD, FreeBSD, OpenBSD, NetBSD)
|
||||||
|
Nothing to include */
|
||||||
|
# else
|
||||||
|
# include <features.h>
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "random_r.h"
|
#include "random_r.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user