mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
16 lines
344 B
Diff
16 lines
344 B
Diff
|
Description: Declare that sjlj.c requires X/Open 7
|
||
|
Things from the X/Open 7 standard are used. This has to
|
||
|
be declared when building with -std=c99.
|
||
|
Author: Tobias Hansen <thansen@debian.org>
|
||
|
|
||
|
--- a/libco/sjlj.c
|
||
|
+++ b/libco/sjlj.c
|
||
|
@@ -12,6 +12,7 @@
|
||
|
*/
|
||
|
|
||
|
#define LIBCO_C
|
||
|
+#define _XOPEN_SOURCE 700
|
||
|
#include "libco.h"
|
||
|
|
||
|
#include <stdlib.h>
|