Commit b75701ce authored by Antoine Jacoutot's avatar Antoine Jacoutot Committed by Cosimo Cecchi
Browse files

OpenBSD needs _XOPEN_SOURCE_EXTENDED for strptime(3)

strptime(3) was introduced in XPG4. On OpenBSD, just defining
_XOPEN_SOURCE gets you the older XPG3 wich doesn't include strptime(3),
so we need to define _XOPEN_SOURCE_EXTENDED to get XPG4v2.
parent 180cb46a
......@@ -24,6 +24,7 @@
#define _XOPEN_SOURCE_EXTENDED 1 /* strptime is XPG4v2 */
#include <time.h>
#include <string.h>
#include <stdlib.h>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment