[gtetrinet] Use absolute includes for config.h.



commit 08a18a082c15dc1b865eed71d471b3a5a519e13b
Author: Jordi Mallach <jordi sindominio net>
Date:   Mon May 2 12:47:38 2011 +0200

    Use absolute includes for config.h.
    
    This should fix builds where $builddir != $srcdir. It also fixes eye
    bleeding.

 src/client.c    |    2 +-
 src/commands.c  |    2 +-
 src/config.c    |    2 +-
 src/dialogs.c   |    2 +-
 src/fields.c    |    2 +-
 src/gtetrinet.c |    2 +-
 src/partyline.c |    2 +-
 src/sound.c     |    2 +-
 src/tetrinet.c  |    2 +-
 src/winlist.c   |    2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/client.c b/src/client.c
index 6fe53af..7c6d645 100644
--- a/src/client.c
+++ b/src/client.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <stdio.h>
diff --git a/src/commands.c b/src/commands.c
index 46acc9f..7588acf 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/config.c b/src/config.c
index fe9a6b3..e36b172 100644
--- a/src/config.c
+++ b/src/config.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/dialogs.c b/src/dialogs.c
index b7dfa35..8f19320 100644
--- a/src/dialogs.c
+++ b/src/dialogs.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/fields.c b/src/fields.c
index 5a30fc8..e0ba2f7 100644
--- a/src/fields.c
+++ b/src/fields.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/gtetrinet.c b/src/gtetrinet.c
index de40233..dbac787 100644
--- a/src/gtetrinet.c
+++ b/src/gtetrinet.c
@@ -19,7 +19,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/partyline.c b/src/partyline.c
index 490326d..16d835f 100644
--- a/src/partyline.c
+++ b/src/partyline.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/sound.c b/src/sound.c
index 8c2c00d..93e4797 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/tetrinet.c b/src/tetrinet.c
index a437d83..8dbb36e 100644
--- a/src/tetrinet.c
+++ b/src/tetrinet.c
@@ -19,7 +19,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>
diff --git a/src/winlist.c b/src/winlist.c
index 4dec9f5..4ac8c1e 100644
--- a/src/winlist.c
+++ b/src/winlist.c
@@ -18,7 +18,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-# include "../config.h"
+#include <config.h>
 #endif
 
 #include <gtk/gtk.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]