openbsd-ports/news/newsfetch/patches/patch-newsfetch_c
2012-08-06 20:32:22 +00:00

20 lines
409 B
Plaintext

$OpenBSD: patch-newsfetch_c,v 1.2 2012/08/06 20:32:22 naddy Exp $
--- newsfetch.c.orig Thu Jul 23 11:28:56 1998
+++ newsfetch.c Mon Aug 6 22:24:26 2012
@@ -7,6 +7,7 @@
#include <stdio.h>
+#include <stdlib.h>
#include <signal.h>
#include <pwd.h>
#include <sys/types.h>
@@ -17,6 +18,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
+#include <string.h>
#include "newsfetch.h"