From 4212b60e649a9174bdd760e81fd5ffd7efb60a4e Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 9 Aug 2008 06:32:43 +0000 Subject: [PATCH] HAVE_CONFIG should be at top --- libxrdp/libxrdp.h | 6 +++--- xrdp/xrdp.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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