From b2d3dcf16979a54ecc3cf4fbfc6ee0e4a4f3521b Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 2 Mar 2017 20:33:23 -0800 Subject: Include config_ac.h from all source files --- sesman/access.c | 4 ++++ sesman/chansrv/chansrv.c | 4 ++++ sesman/chansrv/chansrv_common.c | 4 ++++ sesman/chansrv/chansrv_fuse.c | 4 ++++ sesman/chansrv/clipboard.c | 4 ++++ sesman/chansrv/clipboard_file.c | 4 ++++ sesman/chansrv/devredir.c | 4 ++++ sesman/chansrv/drdynvc.c | 4 ++++ sesman/chansrv/fifo.c | 4 ++++ sesman/chansrv/irp.c | 4 ++++ sesman/chansrv/rail.c | 4 ++++ sesman/chansrv/smartcard.c | 4 ++++ sesman/chansrv/smartcard_pcsc.c | 4 ++++ sesman/chansrv/sound.c | 4 ++++ sesman/chansrv/xcommon.c | 4 ++++ sesman/config.c | 4 ++++ sesman/env.c | 4 ++++ sesman/libscp/libscp_connection.c | 4 ++++ sesman/libscp/libscp_init.c | 4 ++++ sesman/libscp/libscp_lock.c | 4 ++++ sesman/libscp/libscp_session.c | 4 ++++ sesman/libscp/libscp_tcp.c | 4 ++++ sesman/libscp/libscp_v0.c | 4 ++++ sesman/libscp/libscp_v1c.c | 4 ++++ sesman/libscp/libscp_v1c_mng.c | 4 ++++ sesman/libscp/libscp_v1s.c | 4 ++++ sesman/libscp/libscp_v1s_mng.c | 4 ++++ sesman/libscp/libscp_vX.c | 4 ++++ sesman/scp.c | 4 ++++ sesman/scp_v0.c | 4 ++++ sesman/scp_v1.c | 4 ++++ sesman/scp_v1_mng.c | 4 ++++ sesman/sesman.c | 4 ++++ sesman/sig.c | 4 ++++ sesman/tools/config.c | 4 ++++ sesman/tools/dis.c | 4 ++++ sesman/tools/sesadmin.c | 4 ++++ sesman/tools/sesrun.c | 4 ++++ sesman/tools/sestest.c | 4 ++++ sesman/tools/tcp.c | 4 ++++ sesman/tools/xcon.c | 4 ++++ sesman/verify_user.c | 4 ++++ sesman/verify_user_bsd.c | 4 ++++ sesman/verify_user_kerberos.c | 4 ++++ sesman/verify_user_pam.c | 4 ++++ sesman/verify_user_pam_userpass.c | 4 ++++ sesman/xauth.c | 4 ++++ 47 files changed, 188 insertions(+) (limited to 'sesman') diff --git a/sesman/access.c b/sesman/access.c index 071c0ec3..2418505d 100644 --- a/sesman/access.c +++ b/sesman/access.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" extern struct config_sesman *g_cfg; /* in sesman.c */ 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 +#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 +#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 +#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 +#endif + #include #include #include 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 +#endif + #include #include #include 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 +#endif + #include #include #include 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 +#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 +#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 +#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 +#endif + #include #include #include 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 +#endif + #include #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 +#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 +#endif + #include #include #include 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 +#endif + #include #include "arch.h" #include "parse.h" diff --git a/sesman/config.c b/sesman/config.c index 39849bc5..c2e565ee 100644 --- a/sesman/config.c +++ b/sesman/config.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "arch.h" #include "list.h" #include "file.h" diff --git a/sesman/env.c b/sesman/env.c index adbfc788..2a07b873 100644 --- a/sesman/env.c +++ b/sesman/env.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include #include "list.h" diff --git a/sesman/libscp/libscp_connection.c b/sesman/libscp/libscp_connection.c index a5cfcb4a..3ace0e00 100644 --- a/sesman/libscp/libscp_connection.c +++ b/sesman/libscp/libscp_connection.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_connection.h" //extern struct log_config* s_log; diff --git a/sesman/libscp/libscp_init.c b/sesman/libscp/libscp_init.c index 11f0678e..7eabd705 100644 --- a/sesman/libscp/libscp_init.c +++ b/sesman/libscp/libscp_init.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_init.h" //struct log_config* s_log; diff --git a/sesman/libscp/libscp_lock.c b/sesman/libscp/libscp_lock.c index be0619cb..e025882d 100644 --- a/sesman/libscp/libscp_lock.c +++ b/sesman/libscp/libscp_lock.c @@ -19,6 +19,10 @@ * linux only */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_lock.h" #include "thread_calls.h" diff --git a/sesman/libscp/libscp_session.c b/sesman/libscp/libscp_session.c index e932c82b..8df34b34 100644 --- a/sesman/libscp/libscp_session.c +++ b/sesman/libscp/libscp_session.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_session.h" #include diff --git a/sesman/libscp/libscp_tcp.c b/sesman/libscp/libscp_tcp.c index d92597f4..86e71956 100644 --- a/sesman/libscp/libscp_tcp.c +++ b/sesman/libscp/libscp_tcp.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_tcp.h" extern struct log_config *s_log; diff --git a/sesman/libscp/libscp_v0.c b/sesman/libscp/libscp_v0.c index 93f9e072..5a0c8bfa 100644 --- a/sesman/libscp/libscp_v0.c +++ b/sesman/libscp/libscp_v0.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_v0.h" #include "os_calls.h" diff --git a/sesman/libscp/libscp_v1c.c b/sesman/libscp/libscp_v1c.c index 14f3bb0f..5401dda3 100644 --- a/sesman/libscp/libscp_v1c.c +++ b/sesman/libscp/libscp_v1c.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_v1c.h" #include diff --git a/sesman/libscp/libscp_v1c_mng.c b/sesman/libscp/libscp_v1c_mng.c index d9b43b98..2ceaa95e 100644 --- a/sesman/libscp/libscp_v1c_mng.c +++ b/sesman/libscp/libscp_v1c_mng.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_v1c_mng.h" #include diff --git a/sesman/libscp/libscp_v1s.c b/sesman/libscp/libscp_v1s.c index a03fea38..0e72ea1b 100644 --- a/sesman/libscp/libscp_v1s.c +++ b/sesman/libscp/libscp_v1s.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #ifndef LIBSCP_V1S_C #define LIBSCP_V1S_C diff --git a/sesman/libscp/libscp_v1s_mng.c b/sesman/libscp/libscp_v1s_mng.c index d8c5290d..9c31cec6 100644 --- a/sesman/libscp/libscp_v1s_mng.c +++ b/sesman/libscp/libscp_v1s_mng.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #ifndef LIBSCP_V1S_MNG_C #define LIBSCP_V1S_MNG_C diff --git a/sesman/libscp/libscp_vX.c b/sesman/libscp/libscp_vX.c index e590fe73..195b9225 100644 --- a/sesman/libscp/libscp_vX.c +++ b/sesman/libscp/libscp_vX.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "libscp_vX.h" /* server API */ diff --git a/sesman/scp.c b/sesman/scp.c index 89176dcb..a6fbc76e 100644 --- a/sesman/scp.c +++ b/sesman/scp.c @@ -27,6 +27,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" extern struct config_sesman *g_cfg; /* in sesman.c */ diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c index 81ecc3a6..9f272719 100644 --- a/sesman/scp_v0.c +++ b/sesman/scp_v0.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" extern struct config_sesman *g_cfg; /* in sesman.c */ diff --git a/sesman/scp_v1.c b/sesman/scp_v1.c index 36e3892f..517e20d6 100644 --- a/sesman/scp_v1.c +++ b/sesman/scp_v1.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" //#include "libscp_types.h" diff --git a/sesman/scp_v1_mng.c b/sesman/scp_v1_mng.c index 61789cce..d945f2d7 100644 --- a/sesman/scp_v1_mng.c +++ b/sesman/scp_v1_mng.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" #include "libscp.h" diff --git a/sesman/sesman.c b/sesman/sesman.c index 8bebaa39..01bac015 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" int g_sck; diff --git a/sesman/sig.c b/sesman/sig.c index 10fb3ff1..3ddaa2b2 100644 --- a/sesman/sig.c +++ b/sesman/sig.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include #include "sesman.h" diff --git a/sesman/tools/config.c b/sesman/tools/config.c index 0f1399cc..41c5d279 100644 --- a/sesman/tools/config.c +++ b/sesman/tools/config.c @@ -1 +1,5 @@ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "../config.c" diff --git a/sesman/tools/dis.c b/sesman/tools/dis.c index a21fbac4..086dc1b9 100644 --- a/sesman/tools/dis.c +++ b/sesman/tools/dis.c @@ -16,6 +16,10 @@ * limitations under the License. */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include #include #include diff --git a/sesman/tools/sesadmin.c b/sesman/tools/sesadmin.c index 20458461..4220be1d 100644 --- a/sesman/tools/sesadmin.c +++ b/sesman/tools/sesadmin.c @@ -17,6 +17,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "arch.h" #include "tcp.h" #include "libscp.h" diff --git a/sesman/tools/sesrun.c b/sesman/tools/sesrun.c index d671f125..11a807f1 100644 --- a/sesman/tools/sesrun.c +++ b/sesman/tools/sesrun.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" #include "tcp.h" diff --git a/sesman/tools/sestest.c b/sesman/tools/sestest.c index 081bc88b..213d1ac3 100644 --- a/sesman/tools/sestest.c +++ b/sesman/tools/sestest.c @@ -17,6 +17,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "arch.h" #include "tcp.h" #include "libscp.h" diff --git a/sesman/tools/tcp.c b/sesman/tools/tcp.c index 32c0bbc9..dbb5e178 100644 --- a/sesman/tools/tcp.c +++ b/sesman/tools/tcp.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" #include diff --git a/sesman/tools/xcon.c b/sesman/tools/xcon.c index 4b3248b6..43202448 100644 --- a/sesman/tools/xcon.c +++ b/sesman/tools/xcon.c @@ -16,6 +16,10 @@ * limitations under the License. */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include #include #include diff --git a/sesman/verify_user.c b/sesman/verify_user.c index adfef908..e3de9e8f 100644 --- a/sesman/verify_user.c +++ b/sesman/verify_user.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" #include diff --git a/sesman/verify_user_bsd.c b/sesman/verify_user_bsd.c index ff5e87a9..3000de99 100644 --- a/sesman/verify_user_bsd.c +++ b/sesman/verify_user_bsd.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "sesman.h" #define _XOPEN_SOURCE diff --git a/sesman/verify_user_kerberos.c b/sesman/verify_user_kerberos.c index 62d020a5..4f58c83a 100644 --- a/sesman/verify_user_kerberos.c +++ b/sesman/verify_user_kerberos.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "arch.h" #include "os_calls.h" diff --git a/sesman/verify_user_pam.c b/sesman/verify_user_pam.c index 73e0b63f..19c76a06 100644 --- a/sesman/verify_user_pam.c +++ b/sesman/verify_user_pam.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "arch.h" #include "os_calls.h" diff --git a/sesman/verify_user_pam_userpass.c b/sesman/verify_user_pam_userpass.c index 19bc7105..4fa246a5 100644 --- a/sesman/verify_user_pam_userpass.c +++ b/sesman/verify_user_pam_userpass.c @@ -24,6 +24,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include "arch.h" #include "os_calls.h" diff --git a/sesman/xauth.c b/sesman/xauth.c index 003fb866..b95efb39 100644 --- a/sesman/xauth.c +++ b/sesman/xauth.c @@ -23,6 +23,10 @@ * */ +#if defined(HAVE_CONFIG_H) +#include +#endif + #include #include "log.h" #include "os_calls.h" -- cgit v1.2.1