diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/examples/argp-ex1.c | 1 | ||||
-rw-r--r-- | manual/examples/argp-ex2.c | 1 | ||||
-rw-r--r-- | manual/examples/argp-ex3.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/manual/examples/argp-ex1.c b/manual/examples/argp-ex1.c index 50ac0ed978..7bb5f2241c 100644 --- a/manual/examples/argp-ex1.c +++ b/manual/examples/argp-ex1.c @@ -5,6 +5,7 @@ messages and exit when there are any arguments, and print a (rather pointless) messages for --help. */ +#include <stdlib.h> #include <argp.h> int main (int argc, char **argv) diff --git a/manual/examples/argp-ex2.c b/manual/examples/argp-ex2.c index 313c6819a2..c49fbaca94 100644 --- a/manual/examples/argp-ex2.c +++ b/manual/examples/argp-ex2.c @@ -19,6 +19,7 @@ for a given program, even if it uses different argument parsers for various tasks). */ +#include <stdlib.h> #include <argp.h> const char *argp_program_version = 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 = |