Skip to content

Commit

Permalink
include: move config.h into private headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vic Lee committed Mar 12, 2012
1 parent 42c34f1 commit ec9ca3e
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions client/DirectFB/dfreerdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef __DFREERDP_H
#define __DFREERDP_H

#include "config.h"
#include <freerdp/freerdp.h>
#include <freerdp/graphics.h>
#include <freerdp/gdi/gdi.h>
Expand Down
1 change: 1 addition & 0 deletions client/X11/xfreerdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef __XFREERDP_H
#define __XFREERDP_H

#include "config.h"
#include <freerdp/freerdp.h>
#include <freerdp/channels/channels.h>
#include <freerdp/gdi/gdi.h>
Expand Down
2 changes: 0 additions & 2 deletions include/freerdp/utils/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#ifndef __UTILS_DEBUG_H
#define __UTILS_DEBUG_H

#include "config.h"

#include <stdio.h>

#define DEBUG_NULL(fmt, ...) do { } while (0)
Expand Down
5 changes: 0 additions & 5 deletions include/freerdp/utils/profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
#define __UTILS_PROFILER_H

#include <freerdp/api.h>

#include "config.h"

#include <stdio.h>

#include <freerdp/utils/memory.h>
#include <freerdp/utils/stopwatch.h>

Expand Down
1 change: 1 addition & 0 deletions libfreerdp-channels/libchannels.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef __LIBCHANNELS_H
#define __LIBCHANNELS_H

#include "config.h"
#include <freerdp/utils/debug.h>

#ifdef WITH_DEBUG_CHANNELS
Expand Down
1 change: 1 addition & 0 deletions libfreerdp-core/rdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef __RDP_H
#define __RDP_H

#include "config.h"
#include "mcs.h"
#include "tpkt.h"
#include "fastpath.h"
Expand Down
1 change: 1 addition & 0 deletions libfreerdp-gdi/gdi.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef __GDI_CORE_H
#define __GDI_CORE_H

#include "config.h"
#include "graphics.h"

gdiBitmap* gdi_bitmap_new_ex(rdpGdi* gdi, int width, int height, int bpp, uint8* data);
Expand Down
1 change: 1 addition & 0 deletions libfreerdp-locale/liblocale.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef __LIBLOCALE_H
#define __LIBLOCALE_H

#include "config.h"
#include <freerdp/types.h>
#include <freerdp/utils/debug.h>

Expand Down
1 change: 1 addition & 0 deletions libfreerdp-rail/librail.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef __LIBRAIL_H
#define __LIBRAIL_H

#include "config.h"
#include <freerdp/utils/debug.h>

#ifdef WITH_DEBUG_RAIL
Expand Down
1 change: 1 addition & 0 deletions libfreerdp-sspi/sspi.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#ifndef FREERDP_AUTH_SSPI_PRIVATE_H
#define FREERDP_AUTH_SSPI_PRIVATE_H

#include "config.h"
#include <freerdp/types.h>
#include <freerdp/sspi/sspi.h>

Expand Down
1 change: 1 addition & 0 deletions libfreerdp-utils/profiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* limitations under the License.
*/

#include "config.h"
#include <freerdp/utils/profiler.h>

PROFILER* profiler_create(char* name)
Expand Down

0 comments on commit ec9ca3e

Please sign in to comment.