search for: ab5e57f

Displaying 2 results from an estimated 2 matches for "ab5e57f".

2010 Mar 25
0
[PATCH 1/3] btrfs-progs: Fix a compile fail by strndup in RHEL5 env
...-git a/btrfs-list.c b/btrfs-list.c index 7741705..9dedb5d 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -16,6 +16,7 @@ * Boston, MA 021110-1307, USA. */ +#define _GNU_SOURCE #ifndef __CHECKER__ #include <sys/ioctl.h> #include <sys/mount.h> diff --git a/btrfs.c b/btrfs.c index ab5e57f..46314cf 100644 --- a/btrfs.c +++ b/btrfs.c @@ -14,7 +14,7 @@ * Boston, MA 021110-1307, USA. */ - +#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs&qu...
2010 Jun 28
1
[PATCH] Btrgs-progs: Define _GNU_SOURCE for strndup
...-git a/btrfs-list.c b/btrfs-list.c index 7741705..9dedb5d 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -16,6 +16,7 @@ * Boston, MA 021110-1307, USA. */ +#define _GNU_SOURCE #ifndef __CHECKER__ #include <sys/ioctl.h> #include <sys/mount.h> diff --git a/btrfs.c b/btrfs.c index ab5e57f..672ffe2 100644 --- a/btrfs.c +++ b/btrfs.c @@ -15,6 +15,7 @@ */ +#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to ma...