aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-12-24 21:33:50 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-12-24 21:33:50 +0200
commit348c16bbdf8c1599188d7f60e9e9ff58fa9e7484 (patch)
tree0505443818f5357902b03dde687bb14a03cda947 /support
parenta8d7da921ec42af328a00a387e637aa53b558d1a (diff)
parent6ff9f60e9aac2334c12b19a9df829c83901172a2 (diff)
downloadegawk-348c16bbdf8c1599188d7f60e9e9ff58fa9e7484.tar.gz
egawk-348c16bbdf8c1599188d7f60e9e9ff58fa9e7484.tar.bz2
egawk-348c16bbdf8c1599188d7f60e9e9ff58fa9e7484.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog5
-rw-r--r--support/getopt.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 848afde8..58669a5c 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * getopt.c: Include <stdlib.h> to get declarations of
+ malloc and free.
+
2017-12-20 Arnold D. Robbins <arnold@skeeve.com>
* regex.h: Restore GLIBC's use of '__' in parameter names. They
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