mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
hurd: Fix build
Move PATH_MAX, NAME_MAX, IOV_MAX default definitions to the common <isc/platform.h>.
This commit is contained in:
@@ -63,6 +63,7 @@
|
||||
#include <isc/log.h>
|
||||
#include <isc/md.h>
|
||||
#include <isc/mem.h>
|
||||
#include <isc/platform.h>
|
||||
#include <isc/print.h>
|
||||
#include <isc/random.h>
|
||||
#include <isc/string.h>
|
||||
@@ -696,9 +697,6 @@ isc_file_munmap(void *addr, size_t len) {
|
||||
}
|
||||
|
||||
#define DISALLOW "\\/ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 1024
|
||||
#endif
|
||||
|
||||
static isc_result_t
|
||||
digest2hex(unsigned char *digest, unsigned int digestlen,
|
||||
|
@@ -18,16 +18,9 @@
|
||||
#include <dirent.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/platform.h>
|
||||
#include <isc/result.h>
|
||||
|
||||
#ifndef NAME_MAX
|
||||
#define NAME_MAX 256
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 1024
|
||||
#endif
|
||||
|
||||
/*% Directory Entry */
|
||||
typedef struct isc_direntry {
|
||||
char name[NAME_MAX];
|
||||
|
Reference in New Issue
Block a user