Message ID | 560C7518.4050004@gmail.com |
---|---|
State | Accepted |
Commit | a494d30ab1ae40cb7665680cadf5af3ca3830a73 |
Headers | show |
On Thu, Oct 01, 2015 at 02:49:44AM +0300, Kirill Smirnov wrote: > 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: https://www.kernel.org/doc/Documentation/SubmittingPatches
On 01.10.2015 04:04, Brian Norris wrote: > On Thu, Oct 01, 2015 at 02:49:44AM +0300, Kirill Smirnov wrote: >> 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: > > https://www.kernel.org/doc/Documentation/SubmittingPatches > 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?
diff --git a/serve_image.c b/serve_image.c index d3794ec..cbcf3b7 100644 --- a/serve_image.c +++ b/serve_image.c @@ -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>