2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

windows fixes

This commit is contained in:
Mark Andrews
2012-07-20 18:08:28 +10:00
parent 26eff00b07
commit 13518a9636
3 changed files with 11 additions and 1 deletions

View File

@@ -226,6 +226,7 @@ dns_dnssec_signs
dns_dnssec_updatekeys
dns_dnssec_verify
dns_dnssec_verify2
dns_dnssec_verify3
dns_dnssec_verifymessage
dns_dnsseckey_create
dns_dnsseckey_destroy
@@ -438,7 +439,10 @@ dns_nsec3param_fromprivate
dns_nsec3param_toprivate
dns_nsec_build
dns_nsec_buildrdata
dns_nsec_compressbitmap
dns_nsec_isset
dns_nsec_nseconly
dns_nsec_setbit
dns_nsec_typepresent
dns_opcode_totext
dns_opcodestats_create

View File

@@ -25,6 +25,7 @@
#include <stdio.h>
#include <isc/lang.h>
#include <isc/stat.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -22,6 +22,11 @@
#include <sys/stat.h>
/*
* Windows doesn't typedef this.
*/
typedef unsigned short mode_t;
/* open() under unix allows setting of read/write permissions
* at the owner, group and other levels. These don't exist in NT
* We'll just map them all to the NT equivalent