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 c1c74d5..408a417 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -5,6 +5,7 @@
 #define _GNU_SOURCE
 
 #include <features.h>
 #define _GNU_SOURCE
 
 #include <features.h>
+#include <errno.h>
 
 #undef __UCLIBC_HAS_THREADS__
 #include <bits/uClibc_mutex.h>
 
 #undef __UCLIBC_HAS_THREADS__
 #include <bits/uClibc_mutex.h>