about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/mkostemp.c1
-rw-r--r--misc/mkostemps.c1
-rw-r--r--misc/mkstemp.c1
-rw-r--r--misc/mkstemps.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/misc/mkostemp.c b/misc/mkostemp.c
index c990bbd75b..fee2b66cd1 100644
--- a/misc/mkostemp.c
+++ b/misc/mkostemp.c
@@ -15,6 +15,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/misc/mkostemps.c b/misc/mkostemps.c
index fcc6053ef3..a7a87bfa2e 100644
--- a/misc/mkostemps.c
+++ b/misc/mkostemps.c
@@ -16,6 +16,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/misc/mkstemp.c b/misc/mkstemp.c
index 69c6c00b79..e125803a6b 100644
--- a/misc/mkstemp.c
+++ b/misc/mkstemp.c
@@ -15,6 +15,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/misc/mkstemps.c b/misc/mkstemps.c
index 1f46ef57fe..217606db7a 100644
--- a/misc/mkstemps.c
+++ b/misc/mkstemps.c
@@ -16,6 +16,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
+#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>