aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2016-11-22 11:56:08 +0100
committerAndreas Schwab <schwab@suse.de>2016-11-22 13:51:19 +0100
commit65a77b558513ab54018b237f6570d27d12b6ee97 (patch)
tree66167f510933552e488ce0a2831f043c5dbf38d7
parent6c9e1be87a37bfac0bf6c80a38171383ac3527e6 (diff)
downloadglibc-65a77b558513ab54018b237f6570d27d12b6ee97.tar
glibc-65a77b558513ab54018b237f6570d27d12b6ee97.tar.gz
glibc-65a77b558513ab54018b237f6570d27d12b6ee97.tar.bz2
glibc-65a77b558513ab54018b237f6570d27d12b6ee97.zip
Fix multiple definitions of mk[o]stemp[s]64
-rw-r--r--ChangeLog7
-rw-r--r--misc/mkostemp.c1
-rw-r--r--misc/mkostemps.c1
-rw-r--r--misc/mkstemp.c1
-rw-r--r--misc/mkstemps.c1
5 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4bc963555c..60531095db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-22 Andreas Schwab <schwab@suse.de>
+
+ * misc/mkstemp.c: Include <fcntl.h>.
+ * misc/mkstemps.c: Likewise.
+ * misc/mkostemp.c: Likewise.
+ * misc/mkostemps.c: Likewise.
+
2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
[BZ #20847]
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>