GNOME Bugzilla – Bug 676462
build: OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3)
Last modified: 2012-05-21 08:43:23 UTC
Created attachment 214538 [details] [review] define XOPEN_SOURCE_EXTENDED Hi. strptime(3) was introduced in XPG4. On OpenBSD, just defining _XOPEN_SOURCE gets you the older XPG3 wich doesn't include strptime(3). To get XPG4, you'll have to add #define _XOPEN_VERSION 4, but doing that may cause some issues. So it is probably better to just ask for XPG4v2 by adding #define _XOPEN_SOURCE_EXTENDED 1. Thoughts?
patch applied to master, thank you.