help-shishi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detection of <resolv.h> in BSD.


From: Mats Erik Andersson
Subject: Detection of <resolv.h> in BSD.
Date: Mon, 2 Jul 2012 20:54:20 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

The configuration step of detecting presence of <resolv.h>
is failing on BSD systems like FreeBSD and NetBSD, since
it is a requirement to invoke <netinet/in.h>:

   #include <sys/types.h>
   #include <netinet/in.h>
   #include <resolv.h>

in order to avoid errors.

In addition, BSD systems carry res_query() already in libc,
are thus not in need of libresolv.

The following patch allows build of libshishi on FreeBSD,
NetBSD, and DragonflyBSD.

Best regards,
  Mats Erik Andersson

Attachment: 0001-Issues-with-libresolv.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]