Subject: Re: mysqlcc broken by recent upgrade to mysql 4.1.x
To: Jaromir Dolecek <>
From: Chris Wareham <>
List: tech-pkg
Date: 10/31/2004 17:38:04
Jaromir Dolecek wrote:
> Which version of NetBSD do you use? It also seems the package
> uses incorrect _XOPEN_SOURCE define or doesn't include <time.h>, which
> is the reason it doesn't see definition of strptime().

Changing the following two lines:

#define _XOPEN_SOURCE /* glibc2 needs this */
#include <time.h>


#if 0
#define _XOPEN_SOURCE /* glibc2 needs this */
#include <time.h>
#include <ctime>

Fixed the errors.

The build grinds to a halt further on, but the errors I'm now seeing
look far more straightforward.