svn commit: r291994 - head/include

Eric van Gyzen vangyzen at FreeBSD.org
Tue Dec 8 16:09:49 UTC 2015


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>
 


More information about the svn-src-head mailing list