summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os/os-freebsd.h1
-rw-r--r--os/os-solaris.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 614296a4..3939d652 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -1,6 +1,7 @@
#ifndef FIO_OS_FREEBSD_H
#define FIO_OS_FREEBSD_H
+#include <errno.h>
#include <sys/sysctl.h>
#define FIO_HAVE_POSIXAIO
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 35148d2d..b58d1308 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -1,6 +1,7 @@
#ifndef FIO_OS_SOLARIS_H
#define FIO_OS_SOLARIS_H
+#include <errno.h>
#include <sys/types.h>
#include <sys/fcntl.h>
#include <sys/pset.h>