openbsd-ports/games/slash-em/patches/patch-win_Qt_qt_win_cpp
espie 396439d7ee update to a ways more recent version.
Use the same technique as nethack, so that several slash-em versions
can be installed concurrently.
2005-09-11 12:26:02 +00:00

14 lines
352 B
Plaintext

$OpenBSD: patch-win_Qt_qt_win_cpp,v 1.2 2005/09/11 12:26:02 espie Exp $
--- win/Qt/qt_win.cpp.orig Sat Jul 2 09:24:44 2005
+++ win/Qt/qt_win.cpp Sun Sep 11 13:37:55 2005
@@ -106,7 +106,8 @@ extern "C" {
#ifdef Q_WS_MACX
# include <sys/malloc.h>
#else
-# include <malloc.h>
+//# include <malloc.h>
+#include <stdlib.h>
#endif
#ifdef _WS_X11_