~sircmpwn/public-inbox

General catch-all for patches, questions, and discussions for sircmpwn's projects that don't have their own mailing list.

When posting patches to this list, please edit the [PATCH] line to include the specific project you're contributing to, e.g.

[PATCH scdoc v2] Add thing to stuff

Patches

1 2

[PATCH scdoc] Redefine _XOPEN_SOURCE to value 600.

Stephen Gregoratto
Details
Message ID
<20181121140210.4049-1-dev@sgregoratto.me>
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)
Download raw message
Thanks!

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