Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2006 15:11:35 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 106020 for review
Message-ID:  <200609121511.k8CFBZcn046592@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106020

Change 106020 by piso@piso_longino on 2006/09/12 15:11:33

	Axe some compatibility code for FreeBSD 5.x.  

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_db.c#9 edit
.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_pptp.c#10 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_db.c#9 (text+ko) ====

@@ -2588,11 +2588,7 @@
 /* Firewall include files */
 #include <net/if.h>
 
-#if __FreeBSD__ < 5
-#include <netinet/ip_fw2.h> 
-#else
 #include <netinet/ip_fw.h>
-#endif
 #include <string.h>
 #include <err.h>
 

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_pptp.c#10 (text+ko) ====

@@ -41,11 +41,7 @@
 
 /* Includes */
 #ifdef _KERNEL
-#if __FreeBSD__ >= 5
 #include <sys/limits.h>
-#else
-#include <machine/limits.h>
-#endif
 #include <sys/param.h>
 #include <sys/proc.h>
 #include <sys/ctype.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609121511.k8CFBZcn046592>