summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2007-05-19 23:05:38 +0200
committerDavid Härdeman <david@hardeman.nu>2007-05-19 23:05:38 +0200
commitb852f04e1d9c401399b2fab121fa614f0f1ebfbb (patch)
tree04a62e659f413d90d2bb531ba33e3e0c32f05b41
parent3e5ad4cf5f75f7e5ea42197f4baa7a56f86a697e (diff)
Quiet some -ansi/-pedantic compilation warnings
-rw-r--r--utils.c1
-rw-r--r--utils.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/utils.c b/utils.c
index 67fdc76..de4993e 100644
--- a/utils.c
+++ b/utils.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <stdint.h>
#include <stdarg.h>
+#include <unistd.h>
#include "utils.h"
diff --git a/utils.h b/utils.h
index 3bce297..e3096c9 100644
--- a/utils.h
+++ b/utils.h
@@ -20,6 +20,10 @@
/* For uint64_t */
#include <stdint.h>
+/* For ssize_t */
+#include <unistd.h>
+/* For FILE */
+#include <stdio.h>
/* Adjusts the verbosity level for msg() */
void adjust_verbosity(int adj);