[gupnp] Fix warning about wrong windows.h include order
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Fix warning about wrong windows.h include order
- Date: Sat, 9 Feb 2013 13:10:18 +0000 (UTC)
commit c22a57f7e51d5d084382bc1afcf8d4503c947699
Author: Jens Georg <mail jensge org>
Date: Fri Feb 8 18:50:58 2013 +0100
Fix warning about wrong windows.h include order
libgupnp/gupnp-service.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c
index 23bd61d..e50f1fa 100644
--- a/libgupnp/gupnp-service.c
+++ b/libgupnp/gupnp-service.c
@@ -30,11 +30,6 @@
#include <gobject/gvaluecollector.h>
#include <gmodule.h>
#include <libsoup/soup-date.h>
-#ifdef G_OS_WIN32
-#include <rpc.h>
-#else
-#include <uuid/uuid.h>
-#endif
#include <string.h>
#include "gupnp-service.h"
#include "gupnp-root-device.h"
@@ -46,6 +41,12 @@
#include "xml-util.h"
#include "gvalue-util.h"
+#ifdef G_OS_WIN32
+#include <rpc.h>
+#else
+#include <uuid/uuid.h>
+#endif
+
#define SUBSCRIPTION_TIMEOUT 300 /* DLNA (7.2.22.1) enforced */
G_DEFINE_TYPE (GUPnPService,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]