1 2

[PATCH scdoc] Redefine _XOPEN_SOURCE to value 600.

Stephen Gregoratto
Details
Message ID
<20181121140210.4049-1-dev@sgregoratto.me>
DKIM signature
pass
Download raw message
Patch: +1 -1
Fixes build errors on (Open|Free)BSD and Solaris.
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 10ba587..645d521 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
 #include <assert.h>
 #include <ctype.h>
 #include <stdbool.h>
-- 
2.19.1
Details
Message ID
<20181121150635.GA18107@miku>
In-Reply-To
<20181121140210.4049-1-dev@sgregoratto.me> (view parent)
DKIM signature
permerror
Download raw message
Thanks!

To git.sr.ht:~sircmpwn/scdoc
   05ca9f2..cfce167  master -> master