[DHCPCSVC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 14 Aug 2011 12:06:23 +0000 (12:06 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 14 Aug 2011 12:06:23 +0000 (12:06 +0000)
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53228

reactos/dll/win32/dhcpcsvc/dhcp/alloc.c
reactos/dll/win32/dhcpcsvc/dhcp/api.c
reactos/dll/win32/dhcpcsvc/dhcp/compat.c
reactos/dll/win32/dhcpcsvc/dhcp/dhclient.c
reactos/dll/win32/dhcpcsvc/dhcp/dispatch.c
reactos/dll/win32/dhcpcsvc/dhcp/options.c
reactos/dll/win32/dhcpcsvc/dhcp/util.c
reactos/dll/win32/dhcpcsvc/include/rosdhcp.h

index 97027fa..afcd646 100644 (file)
@@ -41,7 +41,6 @@
  */
 
 #include "rosdhcp.h"
-#include "dhcpd.h"
 
 struct string_list *
 new_string_list(size_t size)
index efa07a8..7623be3 100644 (file)
@@ -8,8 +8,6 @@
  */
 
 #include "rosdhcp.h"
-#include <winsock2.h>
-#include <iphlpapi.h>
 
 #define NDEBUG
 #include <reactos/debug.h>
index 83c9c12..20db25c 100644 (file)
@@ -1,6 +1,4 @@
 #include "rosdhcp.h"
-#include "dhcpd.h"
-#include "stdint.h"
 
 size_t strlcpy(char *d, const char *s, size_t bufsize)
 {
index 6c6e53d..cbdb4fe 100644 (file)
@@ -54,7 +54,6 @@
  */
 
 #include "rosdhcp.h"
-#include "dhcpd.h"
 
 #define        PERIOD 0x2e
 #define        hyphenchar(c) ((c) == 0x2d)
index a0ce1d0..d3872d0 100644 (file)
@@ -40,7 +40,7 @@
  */
 
 #include "rosdhcp.h"
-#include "dhcpd.h"
+
 //#include <sys/ioctl.h>
 
 //#include <net/if_media.h>
index 27be626..03cdd47 100644 (file)
  * Enterprises, see ``http://www.vix.com''.
  */
 
-#include <ctype.h>
-#include <string.h>
-
 #define DHCP_OPTION_DATA
 #include "rosdhcp.h"
-#include "dhcpd.h"
 
 int bad_options = 0;
 int bad_options_max = 5;
index 238a788..c9a1a3a 100644 (file)
@@ -1,4 +1,3 @@
-#include <stdarg.h>
 #include "rosdhcp.h"
 
 #define NDEBUG
index 8265de3..07d5bf1 100644 (file)
@@ -4,7 +4,7 @@
 #define WIN32_NO_STATUS
 #include <winsock2.h>
 #define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
 #include <iprtrmib.h>
 #include <iphlpapi.h>
 #include <dhcpcsdk.h>