openbsd-ports/textproc/agrep/patches/patch-mgrep_c
naddy 964afbf742 - honor CC
- include proper prototypes; silences warnings on 64-bit archs
2002-07-21 01:48:42 +00:00

12 lines
360 B
Plaintext

$OpenBSD: patch-mgrep_c,v 1.1 2002/07/21 01:48:42 naddy Exp $
--- mgrep.c.orig Sun Jul 21 03:43:32 2002
+++ mgrep.c Sun Jul 21 03:43:47 2002
@@ -1,6 +1,7 @@
/* Copyright (c) 1991 Sun Wu and Udi Manber. All Rights Reserved. */
/* multipattern matcher */
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#define MAXPAT 256
#define MAXLINE 1024