1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00

Better implementation for the SRV check. We don't need to actually check

all the header files individually since the SRV test compile uses them
together.
This commit is contained in:
David Shaw 2004-12-29 00:58:05 +00:00
parent afe8ca4fbf
commit f539f3d2b2
3 changed files with 10 additions and 3 deletions

View file

@ -21,15 +21,15 @@
#ifndef _SRV_H_
#define _SRV_H_
#ifdef USE_DNS_SRV
#ifdef _WIN32
#include <windows.h>
#else
#include <netinet/in.h>
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#include <resolv.h>
#endif
#endif /* !_WIN32 */
#endif /* USE_DNS_SRV */
#include "types.h"
#ifndef MAXDNAME