summarylogtreecommitdiffstats
path: root/nss-3.20.1-headers.patch
blob: 5f7dcba63267eb22b60de7f30ab73a5ea23a907d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- nss-3.20/nss/lib/dbm/src/mktemp.c	2015-04-20 20:15:12.000000000 +0200
+++ nss-3.20/nss/lib/dbm/src/mktemp.c	2015-04-27 17:20:23.111705529 +0200
@@ -29,6 +29,11 @@
  * SUCH DAMAGE.
  */
 
+#ifdef _WINDOWS
+#include <process.h>
+#include "winfile.h"
+#endif
+
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)mktemp.c	8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */
@@ -49,11 +54,6 @@
 #include <unistd.h>
 #endif
 
-#ifdef _WINDOWS
-#include <process.h>
-#include "winfile.h"
-#endif
-
 static int _gettemp(char *path, register int *doopen, int extraFlags);
 
 int