dosbox-0.74_gcc4.6_compat.patch 770 B

123456789101112131415161718192021222324
  1. diff -ru dosbox-0.74.orig/include/dos_inc.h dosbox-0.74/include/dos_inc.h
  2. --- dosbox-0.74.orig/include/dos_inc.h 2010-05-10 12:43:54.000000000 -0500
  3. +++ dosbox-0.74/include/dos_inc.h 2012-03-10 15:19:47.000000000 -0600
  4. @@ -21,6 +21,8 @@
  5. #ifndef DOSBOX_DOS_INC_H
  6. #define DOSBOX_DOS_INC_H
  7. +#include <stddef.h>
  8. +
  9. #ifndef DOSBOX_DOS_SYSTEM_H
  10. #include "dos_system.h"
  11. #endif
  12. diff -ru dosbox-0.74.orig/src/cpu/cpu.cpp dosbox-0.74/src/cpu/cpu.cpp
  13. --- dosbox-0.74.orig/src/cpu/cpu.cpp 2010-05-12 04:57:31.000000000 -0500
  14. +++ dosbox-0.74/src/cpu/cpu.cpp 2012-03-10 15:17:54.000000000 -0600
  15. @@ -19,6 +19,7 @@
  16. /* $Id: cpu.cpp,v 1.116 2009-03-16 18:10:08 c2woody Exp $ */
  17. #include <assert.h>
  18. +#include <stddef.h>
  19. #include <sstream>
  20. #include "dosbox.h"
  21. #include "cpu.h"