Add <unistd.h> to more files. FreeBSD's namespace pollution hides these

errors.
This commit is contained in:
Dag-Erling Smørgrav 2015-10-12 11:45:26 +00:00 committed by des
parent 2acf532339
commit 454603d4f1
6 changed files with 6 additions and 0 deletions

View file

@ -32,6 +32,7 @@
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#undef HAVE_MEMSET_S
#include <cryb/memset_s.h>

View file

@ -32,6 +32,7 @@
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/endian.h>
#include <cryb/mpi.h>

View file

@ -31,6 +31,7 @@
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/hash.h>

View file

@ -31,6 +31,7 @@
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/hash.h>

View file

@ -31,6 +31,7 @@
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#undef HAVE_STRLCAT
#include <cryb/strlcat.h>

View file

@ -31,6 +31,7 @@
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#undef HAVE_STRLCPY
#include <cryb/strlcpy.h>