prevent doubly defined malloc, fixes build on ?gcc3 archs? (why does

this compile w/gcc2?)

ok pvalchev@
This commit is contained in:
jolan 2004-08-12 17:22:23 +00:00
parent b9224c740f
commit 8bcd005fb0

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_strbuf_c,v 1.1 2004/08/12 17:22:23 jolan Exp $
--- src/strbuf.c.orig Fri Apr 16 01:19:41 2004
+++ src/strbuf.c Thu Aug 12 12:08:05 2004
@@ -1,11 +1,11 @@
#include "config.h"
+#include "strbuf.h"
#include "util.h"
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
-#include "strbuf.h"
#ifndef max
#define max(x,y) ((x)>(y)?(x):(y))
#endif