mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-27 15:54:29 +02:00
Fixed redefinition warnings on some compilers
This commit is contained in:
parent
617193e404
commit
c849ad1de4
@ -1,5 +1,5 @@
|
||||
CCFLAGS = -std=c99 -O3 -Wno-deprecated-declarations
|
||||
LDFLAGS = -lcrypto -I../include
|
||||
LDFLAGS = -lcrypto
|
||||
|
||||
TARGET = pixiewps
|
||||
SOURCE = $(TARGET).c random_r.c
|
||||
|
@ -29,6 +29,12 @@
|
||||
#include <unistd.h>
|
||||
/* #include <errno.h> */
|
||||
|
||||
#ifdef __MACH__
|
||||
# include "../include/features.h"
|
||||
#else
|
||||
# include <features.h>
|
||||
#endif /* __MACH__ */
|
||||
|
||||
#include "random_r.h"
|
||||
|
||||
/* An improved random number generation package. In addition to the standard
|
||||
|
Loading…
x
Reference in New Issue
Block a user