summary refs log tree commit diff
path: root/misc/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mkstemp.c')
-rw-r--r--misc/mkstemp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/mkstemp.c b/misc/mkstemp.c
index 8441c8ee2a..380b989842 100644
--- a/misc/mkstemp.c
+++ b/misc/mkstemp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#ifndef __GT_FILE
+# define __GT_FILE 0
+#endif
+
 /* Generate a unique temporary file name from TEMPLATE.
    The last six characters of TEMPLATE must be "XXXXXX";
    they are replaced with a string that makes the filename unique.