Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/grep/lib include <stdlib.h> for alloca() prototype.
details: https://anonhg.NetBSD.org/src/rev/5717ee1e64b4
branches: trunk
changeset: 542411:5717ee1e64b4
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jan 28 01:43:34 2003 +0000
description:
include <stdlib.h> for alloca() prototype.
diffstat:
gnu/dist/grep/lib/hard-locale.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r cac5dcdf1ff4 -r 5717ee1e64b4 gnu/dist/grep/lib/hard-locale.c
--- a/gnu/dist/grep/lib/hard-locale.c Tue Jan 28 01:07:51 2003 +0000
+++ b/gnu/dist/grep/lib/hard-locale.c Tue Jan 28 01:43:34 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hard-locale.c,v 1.1.1.1 2003/01/26 23:15:12 wiz Exp $ */
+/* $NetBSD: hard-locale.c,v 1.2 2003/01/28 01:43:34 mrg Exp $ */
/* hard-locale.c -- Determine whether a locale is hard.
Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
@@ -48,6 +48,10 @@
# include <string.h>
#endif
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
/* Return nonzero if the current CATEGORY locale is hard, i.e. if you
can't get away with assuming traditional C or POSIX behavior. */
int
Home |
Main Index |
Thread Index |
Old Index