03-define-gnu-source.patch 444 B

12345678910111213141516171819202122232425
  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. */
  6. +#define _GNU_SOURCE
  7. #include <sys/types.h>
  8. #include <sys/uio.h>
  9. #include <dlfcn.h>
  10. --- a/stacktraverse.c
  11. +++ b/stacktraverse.c
  12. @@ -1,3 +1,4 @@
  13. +#define _GNU_SOURCE
  14. #include <stddef.h>
  15. #include "stacktraverse.h"
  16. --- a/test.c
  17. +++ b/test.c
  18. @@ -1,3 +1,4 @@
  19. +#define _GNU_SOURCE
  20. #include <stdio.h>
  21. #include <stdlib.h>