pkgsrc/games/xracer/patches/patch-ad
jlam 5af9de7658 Include <string.h> for proper declarations and definitions for memset()
and NULL.  Fixes some compilation problems seen on NetBSD/alpha.
2000-10-02 08:23:14 +00:00

15 lines
318 B
Text

$NetBSD: patch-ad,v 1.3 2000/10/02 08:23:15 jlam Exp $
--- src/arch_posix.c.orig Sun Jan 9 10:26:37 2000
+++ src/arch_posix.c
@@ -36,6 +36,10 @@
#include <signal.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h> /* declaration of memset() */
+#endif
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif