[BROWSEUI]
[reactos.git] / dll / cpl / timedate / ntpclient.c
index bbb6565..7f2b524 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "timedate.h"
 
+#include <winsock2.h>
+
 #define TIMEOUT 4000 /* 4 second timeout */
 
 typedef struct _INFO
@@ -99,7 +101,7 @@ SendData(PINFO pInfo)
 
 
 static ULONG
-RecieveData(PINFO pInfo)
+ReceiveData(PINFO pInfo)
 {
     TIMEVAL timeVal;
     FD_SET readFDS;
@@ -164,7 +166,7 @@ GetServerTime(LPWSTR lpAddress)
             {
                 if (SendData(pInfo))
                 {
-                    ulTime = RecieveData(pInfo);
+                    ulTime = ReceiveData(pInfo);
                 }
             }