Author: akhaldi Date: Sun Jan 19 10:40:50 2014 New Revision: 61700
URL: http://svn.reactos.org/svn/reactos?rev=61700&view=rev Log: [TIMEDATE] * Remove one time inclusions from the main header and put them back where they belong. CORE-7716
Modified: trunk/reactos/dll/cpl/timedate/clock.c trunk/reactos/dll/cpl/timedate/monthcal.c trunk/reactos/dll/cpl/timedate/ntpclient.c trunk/reactos/dll/cpl/timedate/timedate.h
Modified: trunk/reactos/dll/cpl/timedate/clock.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/clock.c?re... ============================================================================== --- trunk/reactos/dll/cpl/timedate/clock.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/timedate/clock.c [iso-8859-1] Sun Jan 19 10:40:50 2014 @@ -10,6 +10,8 @@ /* Code based on clock.c from Programming Windows, Charles Petzold */
#include "timedate.h" + +#include <math.h>
typedef struct _CLOCKDATA {
Modified: trunk/reactos/dll/cpl/timedate/monthcal.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/monthcal.c... ============================================================================== --- trunk/reactos/dll/cpl/timedate/monthcal.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/timedate/monthcal.c [iso-8859-1] Sun Jan 19 10:40:50 2014 @@ -8,6 +8,8 @@ */
#include "timedate.h" + +#include <windowsx.h>
static const WCHAR szMonthCalWndClass[] = L"MonthCalWnd";
Modified: trunk/reactos/dll/cpl/timedate/ntpclient.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/ntpclient.... ============================================================================== --- trunk/reactos/dll/cpl/timedate/ntpclient.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/timedate/ntpclient.c [iso-8859-1] Sun Jan 19 10:40:50 2014 @@ -8,6 +8,8 @@ */
#include "timedate.h" + +#include <winsock2.h>
#define TIMEOUT 4000 /* 4 second timeout */
Modified: trunk/reactos/dll/cpl/timedate/timedate.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/timedate.h... ============================================================================== --- trunk/reactos/dll/cpl/timedate/timedate.h [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/timedate/timedate.h [iso-8859-1] Sun Jan 19 10:40:50 2014 @@ -1,16 +1,16 @@ +#include <stdarg.h> + +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H #define WIN32_NO_STATUS -#include <stdarg.h> + #include <windef.h> #include <winbase.h> #include <winnls.h> #include <winreg.h> #include <wingdi.h> #include <winuser.h> -#include <windowsx.h> -#define _INC_WINDOWS -#include <winsock2.h> #include <wchar.h> -#include <math.h> #include <commctrl.h> #include <cpl.h>