summaryrefslogtreecommitdiff
path: root/cut-n-paste-code/libegg/eggsmclient-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste-code/libegg/eggsmclient-private.h')
-rw-r--r--cut-n-paste-code/libegg/eggsmclient-private.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cut-n-paste-code/libegg/eggsmclient-private.h b/cut-n-paste-code/libegg/eggsmclient-private.h
index a8da9c7a..e187285b 100644
--- a/cut-n-paste-code/libegg/eggsmclient-private.h
+++ b/cut-n-paste-code/libegg/eggsmclient-private.h
@@ -20,7 +20,12 @@
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
#define __EGG_SM_CLIENT_PRIVATE_H__
-#include <gdkconfig.h>
+#include <gtk/gtk.h>
+
+#if !GTK_CHECK_VERSION(3, 0, 0)
+ #include <gdkconfig.h>
+#endif
+
#include "eggsmclient.h"
#ifdef __cplusplus