fix up errno references
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 01:23:04 +0000 (02:23 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Feb 2011 01:23:04 +0000 (02:23 +0100)
compat.h

index c1c74d57412331071a3a514ac37499c4214a3d13..408a4173a19d6e3dcb01d89055896f212234f89f 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -5,6 +5,7 @@
 #define _GNU_SOURCE
 
 #include <features.h>
+#include <errno.h>
 
 #undef __UCLIBC_HAS_THREADS__
 #include <bits/uClibc_mutex.h>