diff --git a/libxrdp/libxrdp.h b/libxrdp/libxrdp.h index 58ea61bd..cdc77fbd 100644 --- a/libxrdp/libxrdp.h +++ b/libxrdp/libxrdp.h @@ -23,6 +23,9 @@ #if !defined(LIBXRDP_H) #define LIBXRDP_H +#if defined(HAVE_CONFIG_H) +#include "config.h" +#endif #include "arch.h" #include "parse.h" #include "xrdp_constants.h" @@ -33,9 +36,6 @@ #include "file.h" #include "libxrdpinc.h" #include "file_loc.h" -#if defined(HAVE_CONFIG_H) -#include "config.h" -#endif /* tcp */ struct xrdp_tcp diff --git a/xrdp/xrdp.h b/xrdp/xrdp.h index 85a2e8b2..404fc540 100644 --- a/xrdp/xrdp.h +++ b/xrdp/xrdp.h @@ -21,6 +21,9 @@ */ /* include other h files */ +#if defined(HAVE_CONFIG_H) +#include "config.h" +#endif #include "arch.h" #include "parse.h" #include "libxrdpinc.h" @@ -33,9 +36,6 @@ #include "list.h" #include "file.h" #include "file_loc.h" -#if defined(HAVE_CONFIG_H) -#include "config.h" -#endif /* xrdp.c */ long APP_CC