Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/m4 Need <string.h> for strcmp() prototype (noticed b...



details:   https://anonhg.NetBSD.org/src/rev/3a0403db2252
branches:  trunk
changeset: 519964:3a0403db2252
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Dec 31 18:34:52 2001 +0000

description:
Need <string.h> for strcmp() prototype (noticed by gcc 3.1).

diffstat:

 usr.bin/m4/trace.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f1e6c22b807b -r 3a0403db2252 usr.bin/m4/trace.c
--- a/usr.bin/m4/trace.c        Mon Dec 31 18:31:59 2001 +0000
+++ b/usr.bin/m4/trace.c        Mon Dec 31 18:34:52 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trace.c,v 1.2 2001/11/14 14:44:29 tv Exp $     */
+/*     $NetBSD: trace.c,v 1.3 2001/12/31 18:34:52 thorpej Exp $        */
 /* $OpenBSD: trace.c,v 1.3 2001/09/29 15:47:18 espie Exp $ */
 
 /*
@@ -31,6 +31,7 @@
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "mdef.h"
 #include "stdd.h"
 #include "extern.h"



Home | Main Index | Thread Index | Old Index