mtd-utils: serve_image: use proper POSIX_C_SOURCE value
PATCH 1/1 mtd-utils: serve_image: use proper POSIX_C_SOURCE value
struct addrinfo and friends conform to POSIX.1-2001, not earlier. This patch fixes linking against latest glibc 2.22
serve_image.c +1 -1
@@ -1,5 +1,5 @@#define PROGRAM_NAME "serve_image" -#define _POSIX_C_SOURCE 199309 +#define _POSIX_C_SOURCE 200112L#include <time.h> #include <errno.h>
Quoted 2 lines · Kirill Smirnov
struct addrinfo and friends conform to POSIX.1-2001, not earlier. This patch fixes linking against latest glibc 2.22
Please include your 'Signed-off-by', and use inline patches, not attachments. For reference, see the Linux patch submission guidelines:
Quoted 9 lines · Brian Norris
Quoted 2 lines · Kirill Smirnov
struct addrinfo and friends conform to POSIX.1-2001, not earlier. This patch fixes linking against latest glibc 2.22
Please include your 'Signed-off-by', and use inline patches, not attachments. For reference, see the Linux patch submission guidelines:
I've resent the patch. I'm sorry, while re-formatting mail I forgot to remove attachment, so it has been shipped along with the proper inline patch. Is it OK?