1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Author:
Description: Make package compile with gcc-4.4
Index: gpsim-0.29.0/src/ValueCollections.h
===================================================================
--- gpsim-0.29.0.orig/src/ValueCollections.h
+++ gpsim-0.29.0/src/ValueCollections.h
@@ -26,6 +26,7 @@ This file originated by J.R. Heisey
#define __VALUECOLLECTIONS_H__
#include <glib.h>
+#include <cstdio>
#include <vector>
#include <iostream>
#include <sstream>
Index: gpsim-0.29.0/src/processor.cc
===================================================================
--- gpsim-0.29.0.orig/src/processor.cc
+++ gpsim-0.29.0/src/processor.cc
@@ -26,7 +26,7 @@ License along with this library; if not,
*/
-#include <stdio.h>
+#include <cstdio>
#ifdef _WIN32
#include "uxtime.h"
#else
Index: gpsim-0.29.0/src/protocol.h
===================================================================
--- gpsim-0.29.0.orig/src/protocol.h
+++ gpsim-0.29.0/src/protocol.h
@@ -23,6 +23,7 @@ License along with this library; if not,
//
#include <glib.h>
+#include <cstdio>
#ifndef __PROTCOL_H__
#define __PROTCOL_H__
|