mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-12 23:01:14 +01: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:
parent
97587c6d7a
commit
2b9e678fde
@ -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.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user