office-gobmx/libxmlsec/xmlsec1-1.2.14_fix_extern_c.patch
Peter Foley ec6af4194e convert libxmlsec to gbuild
Change-Id: Id0ad4e1c8e3e1ac03c625fb77b70fe0aa8ddfcdc
2012-11-30 11:34:29 -05:00

23 lines
627 B
Diff

--- build/xmlsec1-1.2.14/include/xmlsec/xmlsec.h.ORIGINAL 2009-12-05 15:19:18.000000000 -0600
+++ build/xmlsec1-1.2.14/include/xmlsec/xmlsec.h 2011-02-13 03:09:42.917240245 -0600
@@ -11,16 +11,16 @@
#ifndef __XMLSEC_H__
#define __XMLSEC_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#include <libxml/tree.h>
#include <xmlsec/version.h>
#include <xmlsec/exports.h>
#include <xmlsec/strings.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/***********************************************************************
*
* Basic types to make ports to exotic platforms easier