[gtk+] Include config.h first
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Include config.h first
- Date: Thu, 21 Aug 2014 18:22:24 +0000 (UTC)
commit beae42c49b7316edb2456a128a405bce3c01302e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 21 13:19:26 2014 -0400
Include config.h first
Otherwise, we miss the _GNU_SOURCE #define that configure
puts there.
gdk/wayland/gdkdevice-wayland.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index efe413a..26d81b4 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -15,12 +15,12 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
-#include "config.h"
-
#include <string.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdktypes.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]