openbsd-ports/misc/brs/patches/patch-brl_c
naddy d7367484a6 Remove need for -fwritable-strings so this can be built with gcc4.
From a slightly newer "upstream" version that is floating around
on the net.

Add missing includes.
2010-08-04 14:05:46 +00:00

13 lines
277 B
Plaintext

$OpenBSD: patch-brl_c,v 1.1 2010/08/04 14:05:46 naddy Exp $
--- brl.c.orig Mon Dec 12 20:15:01 1994
+++ brl.c Wed Aug 4 01:20:46 2010
@@ -142,6 +142,8 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <ctype.h>
#include "tsl.h"
#include "brl.h"