1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-21 01:02:46 +02:00

* configure.ac: Check for arpa/nameser.h.

* srv.h: Don't include arpa/nameser.h unless we have it.  Include
"types.h" for u16.
This commit is contained in:
David Shaw 2004-12-16 18:36:42 +00:00
parent 97587c6d7a
commit 2b9e678fde
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-12-16 David Shaw <dshaw@jabberwocky.com>
* srv.h: Don't include arpa/nameser.h unless we have it. Include
"types.h" for u16.
* secmem.c (secmem_init): Return a flag to indicate whether we got
the lock.

View File

@ -1,5 +1,5 @@
/* srv.h
* Copyright (C) 2003 Free Software Foundation, Inc.
* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
@ -25,9 +25,12 @@
#include <windows.h>
#else
#include <netinet/in.h>
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#include <resolv.h>
#endif
#include "types.h"
#ifndef MAXDNAME
#define MAXDNAME 1025