File ufraw-fix-c++.patch of Package ufraw

Index: ufraw-0.22/uf_glib.h
===================================================================
--- ufraw-0.22.orig/uf_glib.h
+++ ufraw-0.22/uf_glib.h
@@ -13,13 +13,13 @@
 #ifndef _UF_GLIB_H
 #define _UF_GLIB_H
 
+#include <glib.h>
+#include <glib/gstdio.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include <glib.h>
-#include <glib/gstdio.h>
-
 // g_win32_locale_filename_from_utf8 is needed only on win32
 #ifdef _WIN32
 #define uf_win32_locale_filename_from_utf8(__some_string__) \
openSUSE Build Service is sponsored by