]> The Tcpdump Group git mirrors - tcpdump/commitdiff
adjust #ifdef to work with NetBSD file as well, which
authormcr <mcr>
Thu, 7 Apr 2005 01:27:52 +0000 (01:27 +0000)
committermcr <mcr>
Thu, 7 Apr 2005 01:27:52 +0000 (01:27 +0000)
has slightly different multiple-include protection (alas)

pmap_prot.h

index 76a47f4d6ba33a1795affe63812d6476d239426a..2f7fc7cd8a23e7c730b36c8d7284467702cdb8a1 100644 (file)
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/pmap_prot.h,v 1.1 2004-12-27 00:41:30 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/pmap_prot.h,v 1.2 2005-04-07 01:27:52 mcr Exp $ (LBL) */
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
  * The service supports remote procedure calls on udp/ip or tcp/ip socket 111.
  */
 
-#ifndef _RPC_PMAPPROT_H
+#if !defined(_RPC_PMAP_PROT_H_) && !defined(_RPC_PMAPPROT_H)
+
+/* two defines, for NetBSD and FreeBSD */
+#define _RPC_PMAP_PROT_H_
 #define _RPC_PMAPPROT_H
 
 #define PMAPPORT               ((u_int16_t)111)