From: DOSBox Development Team <dosbox.crew@gmail.com>
Subject: Preliminary fix for FTBFS with gcc 4.6
Bug-Debian: http://bugs.debian.org/624976

--- a/include/dos_inc.h
+++ b/include/dos_inc.h
@@ -28,6 +28,8 @@
 #include "mem.h"
 #endif
 
+#include <stddef.h> // for offsetof
+
 #ifdef _MSC_VER
 #pragma pack (1)
 #endif
