mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* srv.h, srv.c: Include windows.h with MINGW32.
This commit is contained in:
parent
630ed74997
commit
4d297a7ff1
3 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-05-30 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* srv.h, srv.c: Include windows.h with MINGW32.
|
||||
|
||||
2003-05-24 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,
|
||||
|
|
|
@ -20,10 +20,14 @@
|
|||
|
||||
#include <config.h>
|
||||
#ifdef USE_DNS_SRV
|
||||
#include <sys/types.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -21,9 +21,13 @@
|
|||
#ifndef _SRV_H_
|
||||
#define _SRV_H_
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
#include <resolv.h>
|
||||
#endif
|
||||
|
||||
#ifndef MAXDNAME
|
||||
#define MAXDNAME 1025
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue