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

11 lines
334 B
Plaintext

$OpenBSD: patch-sgrep_c,v 1.1 2002/07/21 01:48:42 naddy Exp $
--- sgrep.c.orig Sun Jul 21 03:42:51 2002
+++ sgrep.c Sun Jul 21 03:43:05 2002
@@ -1,5 +1,6 @@
/* Copyright (c) 1991 Sun Wu and Udi Manber. All Rights Reserved. */
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#define MAXSYM 256
#define MAXMEMBER 8192