summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/chansrv')
-rw-r--r--sesman/chansrv/chansrv.c4
-rw-r--r--sesman/chansrv/chansrv_common.c4
-rw-r--r--sesman/chansrv/chansrv_fuse.c4
-rw-r--r--sesman/chansrv/clipboard.c4
-rw-r--r--sesman/chansrv/clipboard_file.c4
-rw-r--r--sesman/chansrv/devredir.c4
-rw-r--r--sesman/chansrv/drdynvc.c4
-rw-r--r--sesman/chansrv/fifo.c4
-rw-r--r--sesman/chansrv/irp.c4
-rw-r--r--sesman/chansrv/rail.c4
-rw-r--r--sesman/chansrv/smartcard.c4
-rw-r--r--sesman/chansrv/smartcard_pcsc.c4
-rw-r--r--sesman/chansrv/sound.c4
-rw-r--r--sesman/chansrv/xcommon.c4
14 files changed, 56 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
index b9717c8b..a56b80d9 100644
--- a/sesman/chansrv/chansrv.c
+++ b/sesman/chansrv/chansrv.c
@@ -17,6 +17,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include "arch.h"
#include "os_calls.h"
#include "thread_calls.h"
diff --git a/sesman/chansrv/chansrv_common.c b/sesman/chansrv/chansrv_common.c
index fd26da7c..c1e064c8 100644
--- a/sesman/chansrv/chansrv_common.c
+++ b/sesman/chansrv/chansrv_common.c
@@ -16,6 +16,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include "chansrv_common.h"
/**
diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c
index 71d2e42c..04b8fd68 100644
--- a/sesman/chansrv/chansrv_fuse.c
+++ b/sesman/chansrv/chansrv_fuse.c
@@ -43,6 +43,10 @@
char g_fuse_root_path[256] = "";
char g_fuse_clipboard_path[256] = ""; /* for clipboard use */
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#ifndef XRDP_FUSE
/******************************************************************************
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index 6e4a16a6..359a9116 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -159,6 +159,10 @@ x-special/gnome-copied-files
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xfixes.h>
diff --git a/sesman/chansrv/clipboard_file.c b/sesman/chansrv/clipboard_file.c
index 827bc618..338e375a 100644
--- a/sesman/chansrv/clipboard_file.c
+++ b/sesman/chansrv/clipboard_file.c
@@ -22,6 +22,10 @@
* CLIPRDR_FILEDESCRIPTOR
* http://msdn.microsoft.com/en-us/library/ff362447%28prot.20%29.aspx */
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <sys/time.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
diff --git a/sesman/chansrv/devredir.c b/sesman/chansrv/devredir.c
index cc532d8f..598d0aa9 100644
--- a/sesman/chansrv/devredir.c
+++ b/sesman/chansrv/devredir.c
@@ -34,6 +34,10 @@
* o mark local funcs with static
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/sesman/chansrv/drdynvc.c b/sesman/chansrv/drdynvc.c
index dfd8a878..3de03f7e 100644
--- a/sesman/chansrv/drdynvc.c
+++ b/sesman/chansrv/drdynvc.c
@@ -16,6 +16,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include "drdynvc.h"
extern int g_drdynvc_chan_id; /* in chansrv.c */
diff --git a/sesman/chansrv/fifo.c b/sesman/chansrv/fifo.c
index 595dbb29..73955196 100644
--- a/sesman/chansrv/fifo.c
+++ b/sesman/chansrv/fifo.c
@@ -19,6 +19,10 @@
/* FIFO implementation to store a pointer to a user struct */
/* module based logging */
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#define MODULE_NAME "FIFO "
#define LOCAL_DEBUG
diff --git a/sesman/chansrv/irp.c b/sesman/chansrv/irp.c
index d8527270..bd2580e1 100644
--- a/sesman/chansrv/irp.c
+++ b/sesman/chansrv/irp.c
@@ -21,6 +21,10 @@
* manage I/O for redirected file system and devices
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include "parse.h"
#include "os_calls.h"
#include "irp.h"
diff --git a/sesman/chansrv/rail.c b/sesman/chansrv/rail.c
index e790a76b..6682cb75 100644
--- a/sesman/chansrv/rail.c
+++ b/sesman/chansrv/rail.c
@@ -26,6 +26,10 @@
http://msdn.microsoft.com/en-us/library/cc242568(v=prot.20).aspx
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xrandr.h>
diff --git a/sesman/chansrv/smartcard.c b/sesman/chansrv/smartcard.c
index 41fe66a4..f46a839e 100644
--- a/sesman/chansrv/smartcard.c
+++ b/sesman/chansrv/smartcard.c
@@ -22,6 +22,10 @@
* smartcard redirection support
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <string.h>
#include "os_calls.h"
#include "smartcard.h"
diff --git a/sesman/chansrv/smartcard_pcsc.c b/sesman/chansrv/smartcard_pcsc.c
index 29bd5a23..f98f30bb 100644
--- a/sesman/chansrv/smartcard_pcsc.c
+++ b/sesman/chansrv/smartcard_pcsc.c
@@ -23,6 +23,10 @@
* pcsc lib and daemon write struct on unix domain socket for communication
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#define JAY_TODO_CONTEXT 0
#define JAY_TODO_WIDE 1
diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c
index 1662cf28..31af3e4a 100644
--- a/sesman/chansrv/sound.c
+++ b/sesman/chansrv/sound.c
@@ -16,6 +16,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/sesman/chansrv/xcommon.c b/sesman/chansrv/xcommon.c
index 9aae4a06..92124407 100644
--- a/sesman/chansrv/xcommon.c
+++ b/sesman/chansrv/xcommon.c
@@ -16,6 +16,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <X11/Xlib.h>
#include "arch.h"
#include "parse.h"