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