libsmbios/libsmbios-2.0.2-gcc44.patch

52 lines
1.8 KiB
Diff

Index: libraries/cmos/CmosRW.cpp
===================================================================
--- libraries/cmos/CmosRW.cpp.orig 2008-02-13 20:12:43.000000000 +0100
+++ libraries/cmos/CmosRW.cpp 2009-03-02 17:10:07.000000000 +0100
@@ -19,6 +19,7 @@
// compat header should always be first header if including system headers
#define LIBSMBIOS_SOURCE
#include "smbios/compat.h"
+#include <stdio.h>
#include <errno.h>
#include <string.h>
#include "CmosRWImpl.h"
Index: libraries/memory/Memory_Linux.cpp
===================================================================
--- libraries/memory/Memory_Linux.cpp.orig 2007-10-20 00:15:12.000000000 +0200
+++ libraries/memory/Memory_Linux.cpp 2009-03-02 17:09:33.000000000 +0100
@@ -19,7 +19,7 @@
// compat header should always be first header if including system headers
#define LIBSMBIOS_SOURCE
#include "smbios/compat.h"
-
+#include <stdio.h>
#include <errno.h>
#include <sys/mman.h> /* mmap */
#include <unistd.h> /* getpagesize */
Index: libraries/smbios/SmbiosStrategy_Linux.cpp
===================================================================
--- libraries/smbios/SmbiosStrategy_Linux.cpp.orig 2007-10-20 00:15:12.000000000 +0200
+++ libraries/smbios/SmbiosStrategy_Linux.cpp 2009-03-02 17:12:32.000000000 +0100
@@ -19,7 +19,7 @@
// compat header should always be first header if including system headers
#define LIBSMBIOS_SOURCE
#include "smbios/compat.h"
-
+#include <stdio.h>
#include <sstream>
#include <string.h>
Index: libraries/smi/SmiImpl.h
===================================================================
--- libraries/smi/SmiImpl.h.orig 2007-11-27 18:50:54.000000000 +0100
+++ libraries/smi/SmiImpl.h 2009-03-02 17:13:45.000000000 +0100
@@ -17,7 +17,7 @@
#ifndef SMIIMPL_H
#define SMIIMPL_H
-
+#include <stdio.h>
#include "smbios/ISmi.h"
#include "SmiLowLevel.h"
#include "ExceptionImpl.h"