diff lib/tmpfile.c @ 40162:392b2a7ad303

tmpfile: Add support for Android, part 2.
author Bruno Haible <bruno@clisp.org>
date Mon, 28 Jan 2019 00:10:21 +0100
parents 5c7e0484c1e9
children 5a52ef2d4772
line wrap: on
line diff
--- a/lib/tmpfile.c	Sun Jan 27 23:57:16 2019 +0100
+++ b/lib/tmpfile.c	Mon Jan 28 00:10:21 2019 +0100
@@ -21,12 +21,12 @@
 /* Specification.  */
 #include <stdio.h>
 
+#include <errno.h>
 #include <stdbool.h>
 
 #if defined _WIN32 && ! defined __CYGWIN__
 /* A native Windows platforms.  */
 
-# include <errno.h>
 # include <fcntl.h>
 # include <string.h>
 # include <sys/stat.h>