Bug 1391716 - Don't pull rpc/types.h on FreeBSD anymore. r=kaie
authorJan Beich <jbeich@FreeBSD.org>
Fri, 25 Aug 2017 22:04:45 +0200
changeset 4757 75777231f326
parent 4756 5b7fbb6efd59
child 4758 64f9cb0f8b1c
push id273
push userkaie@kuix.de
push date2017-08-25 20:04 +0000
reviewerskaie
bugs1391716
Bug 1391716 - Don't pull rpc/types.h on FreeBSD anymore. r=kaie
pr/include/prinet.h
--- a/pr/include/prinet.h
+++ b/pr/include/prinet.h
@@ -49,17 +49,17 @@
  */
 struct ether_addr;
 struct sockaddr_dl;
 #endif /* AIX */
 #include <arpa/inet.h>
 #endif /* XP_UNIX */
 #include <netdb.h>
 
-#if defined(FREEBSD) || defined(BSDI) || defined(QNX)
+#if defined(BSDI) || defined(QNX)
 #include <rpc/types.h> /* the only place that defines INADDR_LOOPBACK */
 #endif
 
 /*
  * OS/2 hack.  For some reason INADDR_LOOPBACK is not defined in the
  * socket headers.
  */
 #if defined(OS2) && !defined(INADDR_LOOPBACK)