Do only one call to GetVersionEx in the common case.
[pspp] / lib / progreloc.c
index a79ef7a2c9f2ff6fab449436011d5b0093b9536d..9ae08fb708fc6d91ffd89fdff73748fdbda5dd44 100644 (file)
@@ -43,7 +43,6 @@
 # include <windows.h>
 #endif
 
-#include "canonicalize.h"
 #include "relocatable.h"
 
 #ifdef NO_XMALLOC
 # include "xalloc.h"
 #endif
 
+/* Declare canonicalize_file_name.
+   The <stdlib.h> included above may be the system's one, not the gnulib
+   one.  */
+extern char * canonicalize_file_name (const char *name);
+
 /* Pathname support.
    ISSLASH(C)           tests whether C is a directory separator character.
    IS_PATH_WITH_DIR(P)  tests whether P contains a directory specification.