openbsd-ports/misc/plan/patches/patch-src_servmenu_c

13 lines
332 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_servmenu_c,v 1.2 2010/03/21 10:52:21 jasper Exp $
--- src/servmenu.c.orig Wed May 18 21:01:40 2005
+++ src/servmenu.c Thu Feb 4 19:25:21 2010
@@ -8,7 +8,7 @@
#include <stdio.h>
#include <time.h>
-#ifndef MACOSX
+#if !defined(MACOSX) && !defined(__OpenBSD__)
#include <malloc.h>
#else
#include <stdlib.h>