aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/longopt.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-15 23:05:44 +0000
committerRoland McGrath <roland@gnu.org>1996-05-15 23:05:44 +0000
commit46d9215f3bda283a75f9a64f59bf5973245ec1ba (patch)
treecc32a32a860375ff41cc0b83d12823a9f5edb49e /manual/examples/longopt.c
parent0adc881c60ffe16efc315b0982efcdb6b51fba60 (diff)
downloadglibc-46d9215f3bda283a75f9a64f59bf5973245ec1ba.tar
glibc-46d9215f3bda283a75f9a64f59bf5973245ec1ba.tar.gz
glibc-46d9215f3bda283a75f9a64f59bf5973245ec1ba.tar.bz2
glibc-46d9215f3bda283a75f9a64f59bf5973245ec1ba.zip
Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/examples/longopt.c: Include stdlib.h and getopt.h.
Diffstat (limited to 'manual/examples/longopt.c')
-rw-r--r--manual/examples/longopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/manual/examples/longopt.c b/manual/examples/longopt.c
index d5c841f24a..9d6bd53c0f 100644
--- a/manual/examples/longopt.c
+++ b/manual/examples/longopt.c
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <getopt.h>
/* Flag set by @samp{--verbose}. */
static int verbose_flag;