aboutsummaryrefslogtreecommitdiffstats
path: root/support/getopt.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-12-24 21:29:58 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-12-24 21:29:58 +0200
commit5134135d033b268ac260b4e05ddfebe07b93894f (patch)
tree0981f1d95d663e7ab4af3f6c5a9854dcebef2631 /support/getopt.c
parentfcd243fb130b6b4424c26d279772f286a9cdde84 (diff)
downloadegawk-5134135d033b268ac260b4e05ddfebe07b93894f.tar.gz
egawk-5134135d033b268ac260b4e05ddfebe07b93894f.tar.bz2
egawk-5134135d033b268ac260b4e05ddfebe07b93894f.zip
Add include of stdlib.h to getopt.c.
Diffstat (limited to 'support/getopt.c')
-rw-r--r--support/getopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/getopt.c b/support/getopt.c
index 8bc59610..64293754 100644
--- a/support/getopt.c
+++ b/support/getopt.c
@@ -30,6 +30,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h> /* For malloc and free */
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C