include: move config.h into private headers.

This commit is contained in:
Vic Lee 2012-03-12 19:14:56 +08:00
parent 42c34f14e9
commit ec9ca3e35f
11 changed files with 9 additions and 7 deletions

View File

@ -20,6 +20,7 @@
#ifndef __DFREERDP_H #ifndef __DFREERDP_H
#define __DFREERDP_H #define __DFREERDP_H
#include "config.h"
#include <freerdp/freerdp.h> #include <freerdp/freerdp.h>
#include <freerdp/graphics.h> #include <freerdp/graphics.h>
#include <freerdp/gdi/gdi.h> #include <freerdp/gdi/gdi.h>

View File

@ -20,6 +20,7 @@
#ifndef __XFREERDP_H #ifndef __XFREERDP_H
#define __XFREERDP_H #define __XFREERDP_H
#include "config.h"
#include <freerdp/freerdp.h> #include <freerdp/freerdp.h>
#include <freerdp/channels/channels.h> #include <freerdp/channels/channels.h>
#include <freerdp/gdi/gdi.h> #include <freerdp/gdi/gdi.h>

View File

@ -20,8 +20,6 @@
#ifndef __UTILS_DEBUG_H #ifndef __UTILS_DEBUG_H
#define __UTILS_DEBUG_H #define __UTILS_DEBUG_H
#include "config.h"
#include <stdio.h> #include <stdio.h>
#define DEBUG_NULL(fmt, ...) do { } while (0) #define DEBUG_NULL(fmt, ...) do { } while (0)

View File

@ -21,11 +21,6 @@
#define __UTILS_PROFILER_H #define __UTILS_PROFILER_H
#include <freerdp/api.h> #include <freerdp/api.h>
#include "config.h"
#include <stdio.h>
#include <freerdp/utils/memory.h> #include <freerdp/utils/memory.h>
#include <freerdp/utils/stopwatch.h> #include <freerdp/utils/stopwatch.h>

View File

@ -21,6 +21,7 @@
#ifndef __LIBCHANNELS_H #ifndef __LIBCHANNELS_H
#define __LIBCHANNELS_H #define __LIBCHANNELS_H
#include "config.h"
#include <freerdp/utils/debug.h> #include <freerdp/utils/debug.h>
#ifdef WITH_DEBUG_CHANNELS #ifdef WITH_DEBUG_CHANNELS

View File

@ -20,6 +20,7 @@
#ifndef __RDP_H #ifndef __RDP_H
#define __RDP_H #define __RDP_H
#include "config.h"
#include "mcs.h" #include "mcs.h"
#include "tpkt.h" #include "tpkt.h"
#include "fastpath.h" #include "fastpath.h"

View File

@ -20,6 +20,7 @@
#ifndef __GDI_CORE_H #ifndef __GDI_CORE_H
#define __GDI_CORE_H #define __GDI_CORE_H
#include "config.h"
#include "graphics.h" #include "graphics.h"
gdiBitmap* gdi_bitmap_new_ex(rdpGdi* gdi, int width, int height, int bpp, uint8* data); gdiBitmap* gdi_bitmap_new_ex(rdpGdi* gdi, int width, int height, int bpp, uint8* data);

View File

@ -20,6 +20,7 @@
#ifndef __LIBLOCALE_H #ifndef __LIBLOCALE_H
#define __LIBLOCALE_H #define __LIBLOCALE_H
#include "config.h"
#include <freerdp/types.h> #include <freerdp/types.h>
#include <freerdp/utils/debug.h> #include <freerdp/utils/debug.h>

View File

@ -20,6 +20,7 @@
#ifndef __LIBRAIL_H #ifndef __LIBRAIL_H
#define __LIBRAIL_H #define __LIBRAIL_H
#include "config.h"
#include <freerdp/utils/debug.h> #include <freerdp/utils/debug.h>
#ifdef WITH_DEBUG_RAIL #ifdef WITH_DEBUG_RAIL

View File

@ -20,6 +20,7 @@
#ifndef FREERDP_AUTH_SSPI_PRIVATE_H #ifndef FREERDP_AUTH_SSPI_PRIVATE_H
#define FREERDP_AUTH_SSPI_PRIVATE_H #define FREERDP_AUTH_SSPI_PRIVATE_H
#include "config.h"
#include <freerdp/types.h> #include <freerdp/types.h>
#include <freerdp/sspi/sspi.h> #include <freerdp/sspi/sspi.h>

View File

@ -17,6 +17,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "config.h"
#include <freerdp/utils/profiler.h> #include <freerdp/utils/profiler.h>
PROFILER* profiler_create(char* name) PROFILER* profiler_create(char* name)