define-gnu-source.patch 447 B

12345678910111213141516171819202122232425
  1. --- execinfo.c.orig
  2. +++ 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. --- stacktraverse.c.orig
  11. +++ stacktraverse.c
  12. @@ -1,3 +1,4 @@
  13. +#define _GNU_SOURCE
  14. #include <stddef.h>
  15. #include "stacktraverse.h"
  16. --- test.c.orig
  17. +++ test.c
  18. @@ -1,3 +1,4 @@
  19. +#define _GNU_SOURCE
  20. #include <stdio.h>
  21. #include <stdlib.h>