build BUGFIX fix for OpenBSD and exposing realpath()
diff --git a/src/context.c b/src/context.c
index 7c9a93c..4b59507 100644
--- a/src/context.c
+++ b/src/context.c
@@ -15,8 +15,9 @@
#define _POSIX_C_SOURCE 200809L /* strdup */
#if defined (__NetBSD__) || defined (__OpenBSD__)
-#define _XOPEN_SOURCE
-#define _XOPEN_SOURCE_EXTENDED /* realpath */
+/* realpath */
+#define _XOPEN_SOURCE 1
+#define _XOPEN_SOURCE_EXTENDED 1
#endif
#include "context.h"
diff --git a/src/in.c b/src/in.c
index 0a964c6..bdc04a2 100644
--- a/src/in.c
+++ b/src/in.c
@@ -21,8 +21,8 @@
#if defined (__NetBSD__) || defined (__OpenBSD__)
/* realpath */
-#define _XOPEN_SOURCE
-#define _XOPEN_SOURCE_EXTENDED /* realpath */
+#define _XOPEN_SOURCE 1
+#define _XOPEN_SOURCE_EXTENDED 1
#endif
#include "in.h"