fix up errno references
[project/librpc-uclibc.git] / 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>