pkgsrc/emulators/dosbox/patches/patch-include_dos__inc.h
wiz a7846f49bc Add two patches from Fedora that fix the build with gcc-4.8.
Bump PKGREVISION.
Addresses PR 48681 by John D. Baker.
2014-04-17 00:49:51 +00:00

14 lines
328 B
C

$NetBSD: patch-include_dos__inc.h,v 1.1 2014/04/17 00:49:51 wiz Exp $
Add missing header for offsetof() and friends.
--- include/dos_inc.h.orig 2010-05-10 17:43:54.000000000 +0000
+++ include/dos_inc.h
@@ -27,6 +27,7 @@
#ifndef DOSBOX_MEM_H
#include "mem.h"
#endif
+#include <stddef.h>
#ifdef _MSC_VER
#pragma pack (1)