etc: Enable a tty for a serial port by default.
[dragora.git] / patches / libexecinfo / 03-define-gnu-source.patch
blobac18f6eeb1e0cdcd2527d6a9add704414e356344
1 --- a/execinfo.c
2 +++ b/execinfo.c
3 @@ -26,6 +26,7 @@
4 * $Id: execinfo.c,v 1.3 2004/07/19 05:21:09 sobomax Exp $
5 */
7 +#define _GNU_SOURCE
8 #include <sys/types.h>
9 #include <sys/uio.h>
10 #include <dlfcn.h>
11 --- a/stacktraverse.c
12 +++ b/stacktraverse.c
13 @@ -1,3 +1,4 @@
14 +#define _GNU_SOURCE
15 #include <stddef.h>
17 #include "stacktraverse.h"
18 --- a/test.c
19 +++ b/test.c
20 @@ -1,3 +1,4 @@
21 +#define _GNU_SOURCE
22 #include <stdio.h>
23 #include <stdlib.h>