summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/builtin.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 94d8338bb..4b7559723 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-09-10  Jörg Thalheim  <joerg@thalheim.io>
+
+	* GitHub #28: Src/builtin.c: Add missing math.h include for
+	builtins
+
 2018-09-10  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 43426: Test/W02jobs.ztst: disable tests involving suspending
diff --git a/Src/builtin.c b/Src/builtin.c
index 93fa9112c..4abc7da35 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -33,6 +33,8 @@
 #include "zsh.mdh"
 #include "builtin.pro"
 
+#include <math.h>
+
 /* Builtins in the main executable */
 
 static struct builtin builtins[] =