summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index fa73462..2bd85a37 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -489,7 +489,10 @@ int iruserok(unsigned long, int, const char *, const char *);
int iruserok_sa(const void *, int, int, const char *, const char *);
int issetugid(void);
char *mkdtemp(char *);
+#ifndef _MKNOD_DECLARED
int mknod(const char *, mode_t, dev_t);
+#define _MKNOD_DECLARED
+#endif
#ifndef _MKSTEMP_DECLARED
int mkstemp(char *);
#define _MKSTEMP_DECLARED
OpenPOWER on IntegriCloud