--- a/src/conf.h
+++ b/src/conf.h
@@ -29,6 +29,8 @@
     covered work.
 */
 
+#include <sys/types.h>
+
 #ifndef GVPE_CONF_H__
 #define GVPE_CONF_H__