]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/tempfile.c
Greatly simplify the man page handling.
[thirdparty/cups.git] / cups / tempfile.c
index e305c6cd9d8929ca695f274b60d4ca3e20524846..fb39802955292d6c3860a83633960b9b0fb059c4 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include "cups-private.h"
+#include "debug-internal.h"
 #include <stdlib.h>
 #include <fcntl.h>
 #include <sys/stat.h>
@@ -54,7 +55,7 @@ cupsTempFd(char *filename,            /* I - Pointer to buffer */
 #ifdef _WIN32
   if ((tmpdir = getenv("TEMP")) == NULL)
   {
-    GetTempPath(sizeof(tmppath), tmppath);
+    GetTempPathA(sizeof(tmppath), tmppath);
     tmpdir = tmppath;
   }