mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Don't redefine _PATH_DHCPD_xxx
This commit is contained in:
@@ -67,7 +67,9 @@ extern int h_errno;
|
|||||||
#define VA_DOTDOTDOT va_alist
|
#define VA_DOTDOTDOT va_alist
|
||||||
#define VA_start(list, last) va_start (list)
|
#define VA_start(list, last) va_start (list)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -59,8 +59,12 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
#ifndef _PATH_DHCPD_DB
|
||||||
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -61,8 +61,12 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
#ifndef _PATH_DHCPD_DB
|
||||||
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -59,8 +59,12 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
#ifndef _PATH_DHCPD_DB
|
||||||
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
2
cf/qnx.h
2
cf/qnx.h
@@ -61,7 +61,9 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -52,13 +52,6 @@ extern int h_errno;
|
|||||||
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
|
||||||
/*#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Ultrix systems don't have /var/run, but some sites have added it.
|
|
||||||
* if yours is one, edit this file or define _PATH_DHCPD_PID externally.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _PATH_DHCPD_PID
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -67,7 +67,9 @@ extern int h_errno;
|
|||||||
#define VA_DOTDOTDOT va_alist
|
#define VA_DOTDOTDOT va_alist
|
||||||
#define VA_start(list, last) va_start (list)
|
#define VA_start(list, last) va_start (list)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -59,8 +59,12 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
#ifndef _PATH_DHCPD_DB
|
||||||
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -61,8 +61,12 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
#ifndef _PATH_DHCPD_DB
|
||||||
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -59,8 +59,12 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
#ifndef _PATH_DHCPD_DB
|
||||||
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
#define _PATH_DHCPD_DB "/var/db/dhcpd.leases"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -61,7 +61,9 @@ extern int h_errno;
|
|||||||
#define va_dcl
|
#define va_dcl
|
||||||
#define VA_start(list, last) va_start (list, last)
|
#define VA_start(list, last) va_start (list, last)
|
||||||
|
|
||||||
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EOL '\n'
|
#define EOL '\n'
|
||||||
#define VOIDPTR void *
|
#define VOIDPTR void *
|
||||||
|
@@ -52,13 +52,6 @@ extern int h_errno;
|
|||||||
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
|
||||||
/*#define _PATH_DHCPD_PID "/var/run/dhcpd.pid"*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Ultrix systems don't have /var/run, but some sites have added it.
|
|
||||||
* if yours is one, edit this file or define _PATH_DHCPD_PID externally.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _PATH_DHCPD_PID
|
#ifndef _PATH_DHCPD_PID
|
||||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user