[sr-dev] git:master: srdb1: fixed compilation on Mac OS X

Daniel-Constantin Mierla miconda at gmail.com
Sat Aug 20 13:38:49 CEST 2011


Module: sip-router
Branch: master
Commit: 0a8e9ea74191e1231abf431f87212f7508b8cc92
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a8e9ea74191e1231abf431f87212f7508b8cc92

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat Aug 20 13:37:27 2011 +0200

srdb1: fixed compilation on Mac OS X

- pvar.h included before changing OS compile flags for time functions

---

 lib/srdb1/db_ut.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/srdb1/db_ut.h b/lib/srdb1/db_ut.h
index c0d5ad0..9440467 100644
--- a/lib/srdb1/db_ut.h
+++ b/lib/srdb1/db_ut.h
@@ -33,6 +33,8 @@
 #ifndef DB1_UT_H
 #define DB1_UT_H
 
+#include "../../pvar.h"
+
 /**
  * make strptime available
  * use 600 for 'Single UNIX Specification, Version 3'
@@ -54,7 +56,6 @@
 
 #include "db_key.h"
 #include "db.h"
-#include "../../pvar.h"
 
 
 /**




More information about the sr-dev mailing list