res_send.c: Now compiles

This required adding ISC .h files and adding some defines to
port_before.h.
This commit is contained in:
Joel Sherrill
2012-09-01 09:46:13 -05:00
parent 236e427af6
commit c1e56a553c
5 changed files with 256 additions and 2 deletions

View File

@@ -7,6 +7,16 @@
*/
#define _LIBC 1
/*
* lib/libc/resolv/res_send.c needs this defined.
*/
#define USE_KQUEUE 1
/*
* lib/libc/resolv/res_send.c also needs this defined.
*/
#define ISC_SOCKLEN_T socklen_t
/*
#ifndef _bsd_off_t
#define _bsd_off_t off_t