summaryrefslogtreecommitdiff
path: root/sal/osl/w32/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/w32/time.c')
-rw-r--r--sal/osl/w32/time.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/w32/time.c b/sal/osl/w32/time.c
index 47e927f1ac84..5acb65a7d7eb 100644
--- a/sal/osl/w32/time.c
+++ b/sal/osl/w32/time.c
@@ -17,16 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
#include "system.h"
+#include <filetime.h>
+#include <time.h>
+
#include <osl/diagnose.h>
#include <osl/time.h>
#include <sys/timeb.h>
-extern sal_Bool TimeValueToFileTime(const TimeValue *cpTimeVal, FILETIME *pFTime);
-
-extern BOOL FileTimeToTimeValue( const FILETIME *cpFTime, TimeValue *pTimeVal );
-
// osl_getSystemTime
sal_Bool SAL_CALL osl_getSystemTime(TimeValue* pTimeVal)
@@ -40,7 +40,7 @@ sal_Bool SAL_CALL osl_getSystemTime(TimeValue* pTimeVal)
static HMODULE hModule = NULL;
static GetSystemTimePreciseAsFileTime_PROC pGetSystemTimePreciseAsFileTime = NULL;
- OSL_ASSERT(pTimeVal != 0);
+ OSL_ASSERT(pTimeVal != NULL);
if ( !hModule )
{