diff options
author | Kirill Smirnov <kirill.k.smirnov@gmail.com> | 2015-10-01 04:19:35 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-01 10:04:03 -0700 |
commit | a494d30ab1ae40cb7665680cadf5af3ca3830a73 (patch) | |
tree | 674be7e044838579d587911a31dad9b8b2fb0692 | |
parent | 4a95eddcd1d599eb0d61677dab0e879e5ea51e78 (diff) |
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
Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r-- | serve_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
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> |