aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/argp-ex3.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-02-17 01:13:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-17 01:13:15 +0000
commit35c47e37b99f20d198a5bfaae9f39b1cfb216d80 (patch)
tree5d56b31336ffbf62d678854b3c48d774b4773567 /manual/examples/argp-ex3.c
parent0a0a5bd4f16023fc35abdca5f7dc2784b3a482d5 (diff)
downloadglibc-35c47e37b99f20d198a5bfaae9f39b1cfb216d80.tar
glibc-35c47e37b99f20d198a5bfaae9f39b1cfb216d80.tar.gz
glibc-35c47e37b99f20d198a5bfaae9f39b1cfb216d80.tar.bz2
glibc-35c47e37b99f20d198a5bfaae9f39b1cfb216d80.zip
Include <stdlib.h> in argp examples.
Diffstat (limited to 'manual/examples/argp-ex3.c')
-rw-r--r--manual/examples/argp-ex3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/manual/examples/argp-ex3.c b/manual/examples/argp-ex3.c
index 0ea9ce0751..a8a48ea685 100644
--- a/manual/examples/argp-ex3.c
+++ b/manual/examples/argp-ex3.c
@@ -52,6 +52,7 @@
An options vector should be terminated by an option with all fields zero. */
+#include <stdlib.h>
#include <argp.h>
const char *argp_program_version =