summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirka Hladky <jhladky@redhat.com>2019-08-19 22:02:17 +0200
committerJirka Hladky <jhladky@redhat.com>2019-08-19 22:02:17 +0200
commit638e2f066ee91e70c7fff1dcf21831ef9b17d7af (patch)
treef45bbd12fd2c14a8037f6b6b22444c7e08fd622d
parentMerge pull request #7 from ncopa/fix-segfault-on-arm (diff)
downloadhaveged-638e2f066ee91e70c7fff1dcf21831ef9b17d7af.tar.xz
haveged-638e2f066ee91e70c7fff1dcf21831ef9b17d7af.zip
Fixed built issue on Cygwin
-rw-r--r--src/haveged.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haveged.c b/src/haveged.c
index 543d833..fb2636f 100644
--- a/src/haveged.c
+++ b/src/haveged.c
@@ -26,9 +26,9 @@
#include <signal.h>
#include <fcntl.h>
#include <sys/time.h>
+#include <unistd.h>
#ifndef NO_DAEMON
-#include <unistd.h>
#include <syslog.h>
#include <sys/ioctl.h>
#include <asm/types.h>