diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-24 21:33:13 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-24 21:33:13 +0200 |
commit | 6ff9f60e9aac2334c12b19a9df829c83901172a2 (patch) | |
tree | e7f23c5f6152891d1dcef86b8463d676a69052ab /support | |
parent | ff709d65225e5b7a53254fc39a2a03e1d03d8f17 (diff) | |
parent | f871e6ebc0f88cf1e48ffd4945bc805a3bab2be2 (diff) | |
download | egawk-6ff9f60e9aac2334c12b19a9df829c83901172a2.tar.gz egawk-6ff9f60e9aac2334c12b19a9df829c83901172a2.tar.bz2 egawk-6ff9f60e9aac2334c12b19a9df829c83901172a2.zip |
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 5 | ||||
-rw-r--r-- | support/getopt.c | 1 |
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 |