2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

Don't pull in malloc.h; define _PATH_DHCPD_DB correctly

This commit is contained in:
Ted Lemon 1996-03-06 10:40:57 +00:00
parent be1b6e8227
commit 6e47d3d826
2 changed files with 2 additions and 4 deletions

View File

@ -49,7 +49,6 @@
#include <stdio.h>
#include <unistd.h>
#include <strings.h>
#include <malloc.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <ctype.h>
@ -157,7 +156,7 @@ typedef unsigned char option_mask [16];
#define _PATH_DHCPD_DB "dhcpd.leases"
#else
#define _PATH_DHCPD_CONF "/etc/dhcpd.conf"
#define _PATH_DHCPD_CONF "/etc/dhcpd.leases"
#define _PATH_DHCPD_DB "/etc/dhcpd.leases"
#endif
#endif

View File

@ -49,7 +49,6 @@
#include <stdio.h>
#include <unistd.h>
#include <strings.h>
#include <malloc.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <ctype.h>
@ -157,7 +156,7 @@ typedef unsigned char option_mask [16];
#define _PATH_DHCPD_DB "dhcpd.leases"
#else
#define _PATH_DHCPD_CONF "/etc/dhcpd.conf"
#define _PATH_DHCPD_CONF "/etc/dhcpd.leases"
#define _PATH_DHCPD_DB "/etc/dhcpd.leases"
#endif
#endif