summaryrefslogtreecommitdiff
path: root/serve_image.c
diff options
context:
space:
mode:
authorKirill Smirnov <kirill.k.smirnov@gmail.com>2015-10-01 04:19:35 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-10-01 10:04:03 -0700
commita494d30ab1ae40cb7665680cadf5af3ca3830a73 (patch)
tree674be7e044838579d587911a31dad9b8b2fb0692 /serve_image.c
parent4a95eddcd1d599eb0d61677dab0e879e5ea51e78 (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>
Diffstat (limited to 'serve_image.c')
-rw-r--r--serve_image.c2
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>