summaryrefslogtreecommitdiff
path: root/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'fnmatch.c')
-rw-r--r--fnmatch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fnmatch.c b/fnmatch.c
index 0847f5cafb..baa6c9a543 100644
--- a/fnmatch.c
+++ b/fnmatch.c
@@ -20,6 +20,10 @@ Cambridge, MA 02139, USA. */
#include <errno.h>
#include "fnmatch.h"
+#ifdef USE_CWGUSI
+#include <sys/errno.h>
+#endif
+
#if !defined (__GNU_LIBRARY__) && !defined (STDC_HEADERS)
# if !defined (errno)
extern int errno;