summaryrefslogtreecommitdiffstats
path: root/include/fnmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 21d6da4..3958338 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -45,7 +45,9 @@
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
-#define FNM_NOSYS -1 /* Reserved */
+#if __XSI_VISIBLE
+#define FNM_NOSYS -1 /* Reserved. */
+#endif
#if __BSD_VISIBLE
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
OpenPOWER on IntegriCloud