From f0c047e1f40ee2214fe1f73dc3bdc6b0f6de5d85 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Wed, 5 Feb 2003 07:59:09 +0000 Subject: - Changes for compiling with gcc 3.2 --- lib/psitime.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/psitime.cc') diff --git a/lib/psitime.cc b/lib/psitime.cc index 07b2d5a..61a74fa 100644 --- a/lib/psitime.cc +++ b/lib/psitime.cc @@ -21,11 +21,14 @@ * */ #include "psitime.h" +#include "plp_inttypes.h" + #include -#include #define OnePM 3600 // 13:00 offset for SIBO +using namespace std; + PsiTime::PsiTime(void) { ptzValid = false; tryPsiZone(); @@ -63,7 +66,7 @@ PsiTime::PsiTime(const u_int32_t _ptvHi, const u_int32_t _ptvLo) { psi2unix(); } -PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz = 0L) { +PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz) { if (_utv != 0L) utv = *_utv; if (_utz != 0L) -- cgit v1.2.3