openbsd-ports/devel/gputils/patches/patch-include_stdhdr_h

13 lines
377 B
Plaintext
Raw Normal View History

$OpenBSD: patch-include_stdhdr_h,v 1.1.1.1 2003/11/03 01:02:36 naddy Exp $
--- include/stdhdr.h.orig 2003-10-14 20:22:25.000000000 +1000
+++ include/stdhdr.h 2003-10-14 20:23:01.000000000 +1000
@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA. */
#include "getopt.h"
-#ifdef HAVE_MALLOC_H
+#if defined(HAVE_MALLOC_H) && !defined(HAVE_STDLIB_H)
#include <malloc.h>
#endif