summaryrefslogtreecommitdiff
path: root/lib/fcntl-safer.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-27 14:28:28 +0000
committerJim Meyering <jim@meyering.net>2005-08-27 14:28:28 +0000
commit45cc6c2e41a6b6512dbf1346e7d7a0c574d57100 (patch)
treed27dc2206c0758375422f51053367802fa0034e5 /lib/fcntl-safer.h
parent063956cb1825f566ee6065a2924fd81d357feb91 (diff)
downloadgnulib-45cc6c2e41a6b6512dbf1346e7d7a0c574d57100.tar.gz
Include <sys/types.h> and declare creat_safer.
Diffstat (limited to 'lib/fcntl-safer.h')
-rw-r--r--lib/fcntl-safer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fcntl-safer.h b/lib/fcntl-safer.h
index 8fc564f813..cab6aab1ad 100644
--- a/lib/fcntl-safer.h
+++ b/lib/fcntl-safer.h
@@ -18,4 +18,7 @@
/* Written by Paul Eggert. */
+#include <sys/types.h>
+
int open_safer (char const *, int, ...);
+int creat_safer (char const *, mode_t);