diff --git a/port/lfind.c port/lfind.c
index 087dfa9..20fa8b4 100644
--- a/port/lfind.c
+++ b/port/lfind.c
@@ -38,7 +38,7 @@
 #ifdef _WIN32_WCE
 # include <wce_types.h>
 #else
-# include <sys/types.h>
+# include <stddef.h>
 #endif
 
 #ifndef NULL
