[sr-dev] git:master: presence_conference: changed include order to fix comilation on mac os x

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 27 12:44:54 CEST 2011


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Apr 27 12:44:16 2011 +0200

presence_conference: changed include order to fix comilation on mac os x

---

 modules_k/presence_conference/pidf.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules_k/presence_conference/pidf.c b/modules_k/presence_conference/pidf.c
index c0676c8..2b2d45c 100644
--- a/modules_k/presence_conference/pidf.c
+++ b/modules_k/presence_conference/pidf.c
@@ -31,6 +31,13 @@
  * \ingroup presence_xml
  */
 
+#include <string.h>
+#include <stdlib.h>
+#include <libxml/parser.h>
+#include "../../dprint.h"
+#include "../../sr_module.h"
+#include "pidf.h"
+
 /**
  * make strptime available
  * use 600 for 'Single UNIX Specification, Version 3'
@@ -50,13 +57,6 @@
 #undef _XOPEN_SOURCE
 #undef _XOPEN_SOURCE_EXTENDED
 
-#include <string.h>
-#include <stdlib.h>
-#include <libxml/parser.h>
-#include "../../dprint.h"
-#include "../../sr_module.h"
-#include "pidf.h"
-
 xmlAttrPtr xmlNodeGetAttrByName(xmlNodePtr node, const char *name)
 {
 	xmlAttrPtr attr = node->properties;




More information about the sr-dev mailing list