Date: Tue, 8 Dec 2015 16:09:48 +0000 (UTC) From: Eric van Gyzen <vangyzen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291994 - head/include Message-ID: <201512081609.tB8G9mfd053070@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vangyzen Date: Tue Dec 8 16:09:48 2015 New Revision: 291994 URL: https://svnweb.freebsd.org/changeset/base/291994 Log: resolver: fix the build of some ports, broken by r289315 r289315 required time_t and struct timespec to be defined before including <resolv.h>. This broke the build of net-mgmt/sx, at least. Include <sys/timespec.h> in resolv.h to fix this with minimal pollution. Reported by: Raphael Kubo da Costa <rakuco> MFC after: 3 days Sponsored by: Dell Inc. Modified: head/include/resolv.h Modified: head/include/resolv.h ============================================================================== --- head/include/resolv.h Tue Dec 8 10:50:03 2015 (r291993) +++ head/include/resolv.h Tue Dec 8 16:09:48 2015 (r291994) @@ -57,6 +57,7 @@ #include <sys/types.h> #include <sys/cdefs.h> #include <sys/socket.h> +#include <sys/timespec.h> #include <stdio.h> #include <arpa/nameser.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081609.tB8G9mfd053070>