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:
parent
be1b6e8227
commit
6e47d3d826
3
dhcpd.h
3
dhcpd.h
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user