summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/error.c3
-rw-r--r--src/iceauth.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/error.c b/src/error.c
index 3e5e5e9..9187256 100644
--- a/src/error.c
+++ b/src/error.c
@@ -32,10 +32,9 @@ Author: Ralph Mor, X Consortium
#include <X11/ICE/ICElib.h>
#include "ICElibint.h"
#include <stdio.h>
-
+#include <unistd.h>
#include <errno.h>
-
void
_IceErrorBadMinor (
IceConn iceConn,
diff --git a/src/iceauth.c b/src/iceauth.c
index ef66626..ed31683 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -40,6 +40,8 @@ Author: Ralph Mor, X Consortium
#include <bsd/stdlib.h> /* for arc4random_buf() */
#endif
+#include <unistd.h>
+
static int was_called_state;
/*