--- iodbcinst/unicode.h.orig
+++ iodbcinst/unicode.h
@@ -77,6 +77,7 @@
 #ifndef _UNICODE_H
 #define _UNICODE_H
 
+#include <sys/types.h>
 
 #if defined (__APPLE__) && !defined (MACOSX102) && !defined (HAVE_CONFIG_H)
 #define HAVE_WCHAR_H