openbsd-ports/news/trn/patches/patch-parsedate_y
espie 122e95316f make trn work on sparc64: FIONREAD fills an int on OpenBSD.
Add various missing prototypes while we're at it.
2005-05-29 14:19:08 +00:00

12 lines
411 B
Plaintext

$OpenBSD: patch-parsedate_y,v 1.1 2005/05/29 14:19:08 espie Exp $
--- parsedate.y.orig Sun May 29 16:05:29 2005
+++ parsedate.y Sun May 29 16:05:40 2005
@@ -18,6 +18,7 @@
/* SUPPRESS 593 on yynewstate *//* Label was not used */
/* SUPPRESS 595 on yypvt *//* Automatic variable may be used before set */
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <ctype.h>
#include "config.h"