libiberty: Fix -Wimplicit-fallthrough warnings.
[deliverable/binutils-gdb.git] / libiberty / choose-temp.c
index b1c2e5b66ba5f76af7816a7ef929c0480c942ba8..8e1e84be7651d05962810979c34696733b338fb3 100644 (file)
@@ -22,6 +22,10 @@ Boston, MA 02110-1301, USA.  */
 #endif
 
 #include <stdio.h>     /* May get P_tmpdir.  */
+#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
@@ -30,7 +34,6 @@ Boston, MA 02110-1301, USA.  */
 #endif
 
 #include "libiberty.h"
-extern char *choose_tmpdir (void);
 
 /* Name of temporary file.
    mktemp requires 6 trailing X's.  */
This page took 0.02414 seconds and 4 git commands to generate.