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 75777231f3261e990c1c2c418999d5933b349a0f
parent 4756 5b7fbb6efd5908fc33ce25c8a9591d69cbe54092
child 4758 64f9cb0f8b1ccd7f2b9a9fbf178fab097a1a7b35
push id273
push userkaie@kuix.de
push dateFri, 25 Aug 2017 20:04:36 +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)