[Xorp-cvs] XORP cvs commit: xorp/libxorp

Pavlin Radoslavov pavlin@icir.org
Tue, 18 Apr 2006 05:27:30 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-04-18 05:27:30 UTC

XORP CVS repository


Modified files:
	libxorp       strptime.c 

Log message:
	Add a compilation fix for OpenBSD-3.9:
	
	Previously, we unconditionally defined _XOPEN_SOURCE, because
	Linux and NetBSD needed it for strptime(3).
	However, now OpenBSD-3.9 cannot process <net/if.h> (included by
	"libxorp/xorp.h") if _XOPEN_SOURCE is defined.
	Hence, as an exception we include some stuff before "libxorp/xorp.h",
	but only for specific platforms.

Revision  Changes                               Path
1.10      +12 -2;  commitid: bab4444478487ea6;  xorp/libxorp/strptime.c