about summary refs log tree commit diff
path: root/manual/examples/argp-ex1.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples/argp-ex1.c')
-rw-r--r--manual/examples/argp-ex1.c1
1 files changed, 1 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)