summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-09-10 12:57:20 +0100
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-09-10 13:05:46 +0000
commit03a51a6f097a6e4a9bb8d94c2be17ec8a2e300b8 (patch)
tree9d9109d0b482cee57ab06d46446486f48c1d3b37 /Src
parentd6859ce68e01cfa1d3c2e047bf4b25118152fdab (diff)
downloadzsh-03a51a6f097a6e4a9bb8d94c2be17ec8a2e300b8.tar.gz
zsh-03a51a6f097a6e4a9bb8d94c2be17ec8a2e300b8.tar.xz
zsh-03a51a6f097a6e4a9bb8d94c2be17ec8a2e300b8.zip
GitHub #28: Add missing math.h include for builtins
math.h is required for isnan/isinf
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
1 files changed, 2 insertions, 0 deletions
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[] =