pkgsrc/emulators/palmosemulator/patches/patch-at
dsainty fec638c9f6 Uncomment a couple of includes that are not strictly implied by other
includes, and therefore may cause build failures when absent.

Fixes build on Ubuntu 11.04.
2011-10-04 23:33:40 +00:00

18 lines
574 B
Text

$NetBSD: patch-at,v 1.1 2011/10/04 23:33:40 dsainty Exp $
Multiple implementation files assume these headers are pulled in implicitly,
so make it explicit, for those platforms that otherwise don't pull these in.
--- SrcUnix/EmCommonUnix.h.orig 2010-08-08 11:47:00.281465282 +1200
+++ SrcUnix/EmCommonUnix.h 2010-08-08 11:47:20.822480203 +1200
@@ -42,8 +42,8 @@
//#include <stdarg.h>
//#include <stddef.h>
//#include <stdio.h>
-//#include <stdlib.h>
-//#include <string.h>
+#include <stdlib.h>
+#include <string.h>
//#include <sys/types.h>
//#include <sys/socket.h>