summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-02 20:33:23 -0800
committerjsorg71 <jay.sorg@gmail.com>2017-03-04 00:52:34 -0800
commitb2d3dcf16979a54ecc3cf4fbfc6ee0e4a4f3521b (patch)
tree168d3065b744f8f758eb7d9d57feab5d0a51c204 /sesman
parent24d44def601a7ebae5b79743a9c34ca024997531 (diff)
downloadxrdp-proprietary-b2d3dcf16979a54ecc3cf4fbfc6ee0e4a4f3521b.tar.gz
xrdp-proprietary-b2d3dcf16979a54ecc3cf4fbfc6ee0e4a4f3521b.zip
Include config_ac.h from all source files
Diffstat (limited to 'sesman')
-rw-r--r--sesman/access.c4
-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
-rw-r--r--sesman/config.c4
-rw-r--r--sesman/env.c4
-rw-r--r--sesman/libscp/libscp_connection.c4
-rw-r--r--sesman/libscp/libscp_init.c4
-rw-r--r--sesman/libscp/libscp_lock.c4
-rw-r--r--sesman/libscp/libscp_session.c4
-rw-r--r--sesman/libscp/libscp_tcp.c4
-rw-r--r--sesman/libscp/libscp_v0.c4
-rw-r--r--sesman/libscp/libscp_v1c.c4
-rw-r--r--sesman/libscp/libscp_v1c_mng.c4
-rw-r--r--sesman/libscp/libscp_v1s.c4
-rw-r--r--sesman/libscp/libscp_v1s_mng.c4
-rw-r--r--sesman/libscp/libscp_vX.c4
-rw-r--r--sesman/scp.c4
-rw-r--r--sesman/scp_v0.c4
-rw-r--r--sesman/scp_v1.c4
-rw-r--r--sesman/scp_v1_mng.c4
-rw-r--r--sesman/sesman.c4
-rw-r--r--sesman/sig.c4
-rw-r--r--sesman/tools/config.c4
-rw-r--r--sesman/tools/dis.c4
-rw-r--r--sesman/tools/sesadmin.c4
-rw-r--r--sesman/tools/sesrun.c4
-rw-r--r--sesman/tools/sestest.c4
-rw-r--r--sesman/tools/tcp.c4
-rw-r--r--sesman/tools/xcon.c4
-rw-r--r--sesman/verify_user.c4
-rw-r--r--sesman/verify_user_bsd.c4
-rw-r--r--sesman/verify_user_kerberos.c4
-rw-r--r--sesman/verify_user_pam.c4
-rw-r--r--sesman/verify_user_pam_userpass.c4
-rw-r--r--sesman/xauth.c4
47 files changed, 188 insertions, 0 deletions
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 <config_ac.h>
+#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 <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"
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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include <grp.h>
#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include "libscp_session.h"
#include <sys/types.h>
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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include "libscp_v1c.h"
#include <stdlib.h>
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 <config_ac.h>
+#endif
+
#include "libscp_v1c_mng.h"
#include <stdlib.h>
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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include <signal.h>
#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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include "sesman.h"
#include <netinet/in.h>
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 <config_ac.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
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 <config_ac.h>
+#endif
+
#include "sesman.h"
#include <stdio.h>
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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#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 <config_ac.h>
+#endif
+
#include <stdio.h>
#include "log.h"
#include "os_calls.h"