summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-06-18 20:41:48 +0200
committerJan Djärv <jan.h.d@swipnet.se>2013-06-18 20:41:48 +0200
commit69f60cdc2310c5e0f644b65d1965353330068c8c (patch)
treebae156fdc2afcab294f40501ec484068c4ac76c6 /src
parent0d6224d432dee9781baadc8a833826e42fe7acda (diff)
downloademacs-69f60cdc2310c5e0f644b65d1965353330068c8c.tar.gz
* process.c: Include xgselect.h if HAVE_GLIB. Include glib.h
if HAVE_GLIB && ! WINDOWSNT. Fixes: debbugs:14654
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/process.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f8d4063b352..2454935169f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-18 Jan Djärv <jan.h.d@swipnet.se>
+
+ * process.c: Include xgselect.h if HAVE_GLIB. Include glib.h
+ if HAVE_GLIB && ! WINDOWSNT (Bug#14654).
+
2013-06-18 Paul Eggert <eggert@cs.ucla.edu>
* conf_post.h: Add comments for INLINE, EXTERN_INLINE, etc.
diff --git a/src/process.c b/src/process.c
index 0afd8b5d2ac..9ef01dae765 100644
--- a/src/process.c
+++ b/src/process.c
@@ -124,8 +124,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include TERM_HEADER
#endif /* HAVE_WINDOW_SYSTEM */
-#if defined (USE_GTK) || defined (HAVE_GCONF) || defined (HAVE_GSETTINGS)
+#ifdef HAVE_GLIB
#include "xgselect.h"
+#ifndef WINDOWSNT
+#include <glib.h>
+#endif
#endif
#ifdef WINDOWSNT