openbsd-ports/lang/gcc/3.3/patches/patch-libiberty_choose-temp_c
2005-01-03 15:21:26 +00:00

13 lines
403 B
Plaintext

$OpenBSD: patch-libiberty_choose-temp_c,v 1.1.1.1 2005/01/03 15:21:27 espie Exp $
--- libiberty/choose-temp.c.orig 2004-02-08 02:18:04.000000000 -0700
+++ libiberty/choose-temp.c 2004-02-08 02:18:48.000000000 -0700
@@ -29,6 +29,8 @@ Boston, MA 02111-1307, USA. */
#include <string.h>
#endif
+#include <unistd.h> /* mktemp */
+
#include "libiberty.h"
extern char *choose_tmpdir PARAMS ((void));