uloop: include sys/types.h to make pid_t available
authorBenjamin Larsson <benjamin@southpole.se>
Mon, 28 May 2012 12:59:49 +0000 (14:59 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 May 2012 13:17:46 +0000 (15:17 +0200)
uloop.h

diff --git a/uloop.h b/uloop.h
index bce3974facab201b93d14349dcc60c6b78f3f0f9..05007fa946fc1bc7e7a44f1db7b0a6768e468019 100644 (file)
--- a/uloop.h
+++ b/uloop.h
@@ -21,6 +21,7 @@
 #define _ULOOP_H__
 
 #include <sys/time.h>
+#include <sys/types.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <signal.h>