[Xorp-cvs] XORP cvs commit: xorp/libxorp
Pavlin Radoslavov
pavlin@icir.org
Tue, 18 Apr 2006 20:10:13 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2006-04-18 20:10:13 UTC
XORP CVS repository
Modified files:
libxorp strptime.c
Log message:
Fix a compilation error on Linux (and probably NetBSD).
We cannot use HOST_OS_LINUX or HOST_OS_NETBSD before
including "libxorp/xorp.h", hence always define _XOPEN_SOURCE before
including <time.h>, and then unconditionally undefine it before
including "libxorp/xorp.h".
Revision Changes Path
1.12 +3 -4; commitid: e6c3444546e57ea6; xorp/libxorp/strptime.c