summaryrefslogtreecommitdiff
path: root/libf2c
diff options
context:
space:
mode:
authorfx <fx@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-12 11:09:53 +0000
committerfx <fx@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-12 11:09:53 +0000
commitd5a968f77e35558b55ea5b07b0acdf75e584c94b (patch)
tree59ff40965751fb4c256bce52f55232dbf8b78123 /libf2c
parent6bac44a779d4b072138ce3f415c948aa7ca22799 (diff)
downloadgcc-d5a968f77e35558b55ea5b07b0acdf75e584c94b.tar.gz
1998-10-12 Dave Love <fx@gnu.org>
* libI77/open.c (_XOPEN_SOURCE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23015 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c')
-rw-r--r--libf2c/ChangeLog4
-rw-r--r--libf2c/libI77/open.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog
index 6b2e3e0dfa1..40728f00ffc 100644
--- a/libf2c/ChangeLog
+++ b/libf2c/ChangeLog
@@ -1,5 +1,9 @@
1998-10-12 Dave Love <fx@gnu.org>
+ * libI77/open.c (_XOPEN_SOURCE): Define.
+
+1998-10-12 Dave Love <fx@gnu.org>
+
* Makefile.in (.SUFFIXES): Don't use any.
(all-unilib): New target, like old all.
(all): Use it.
diff --git a/libf2c/libI77/open.c b/libf2c/libI77/open.c
index ad039f6d895..7c8f3ded7ac 100644
--- a/libf2c/libI77/open.c
+++ b/libf2c/libI77/open.c
@@ -1,3 +1,6 @@
+/* Define _XOPEN_SOURCE to get tempnam prototype with glibc et al --
+ more general than _INCLUDE_XOPEN_SOURCE used elsewhere `for HP-UX'. */
+#define _XOPEN_SOURCE 1
#include "f2c.h"
#include "fio.h"
#include <string.h>