summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2020-01-15 10:02:10 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2020-01-15 10:11:24 +0100
commite31287e704a539ebef777d92e4d06d4b1d912b2a (patch)
tree03b119260a7c7f8450c0f5ea1168473a83399b42 /src/gtkutil.c
parent06caa3b7e5e9fe91b6918f8567adbd5501d6dbdd (diff)
downloademacs-e31287e704a539ebef777d92e4d06d4b1d912b2a.tar.gz
Fix implicit declaration of getenv and atol
* src/gtkutil.c: Include <stdlib.h>.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 6308c38f164..5e7cf3d2114 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -22,6 +22,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#ifdef USE_GTK
#include <float.h>
#include <stdio.h>
+#include <stdlib.h>
#include <c-ctype.h>