From f601edf7a5b5de9520c2feccc38b188e3ef32426 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Wed, 22 Jan 2020 11:46:50 +0800 Subject: [PATCH] cleanup and add dependent headers. --- src/include/dc.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/include/dc.h b/src/include/dc.h index 7329be63..e579058f 100644 --- a/src/include/dc.h +++ b/src/include/dc.h @@ -49,13 +49,17 @@ ** Create Date: 1999/xx/xx */ -#ifndef _DC_H - #define _DC_H +#ifndef GUI_DC_H + #define GUI_DC_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ +#include "gal.h" +#include "internals.h" +#include "ctrlclass.h" + #if defined (__NOUNIX__) || defined (__uClinux__) #define DCSLOTNUMBER 8 #else @@ -705,4 +709,4 @@ void update_secondary_dc (PMAINWIN pWin, HDC secondary_dc, } #endif /* __cplusplus */ -#endif // _DC_H +#endif // GUI_DC_H