1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-30 02:32: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> 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 * secmem.c (secmem_init): Return a flag to indicate whether we got
the lock. the lock.

View File

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