--- a/include/nfsc/libnfs.h
+++ b/include/nfsc/libnfs.h
@@ -24,6 +24,7 @@
#define _LIBNFS_H_
#include <stdint.h>
+#include <sys/time.h>
#if defined(__ANDROID__) || defined(AROS) \
|| ( defined(__APPLE__) && defined(__MACH__) )
#include <sys/time.h>