diff options
author | Tom Schoonjans <Tom.Schoonjans@me.com> | 2017-04-24 22:42:28 -0700 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2017-04-25 21:28:50 -0700 |
commit | 75e72441221a0416cfa6131a471dcbeac8394e22 (patch) | |
tree | 61fcce3f3098e8cc12d9b2004c87a4fca8fb5c49 | |
parent | b24a5fc42e8b911c9527e41a67c0f6a183a9b4cd (diff) | |
download | gjs-75e72441221a0416cfa6131a471dcbeac8394e22.tar.gz |
arg: Include headers for std::abs()
Required for compiling with clang on macOS.
https://bugzilla.gnome.org/show_bug.cgi?id=780350
-rw-r--r-- | gi/arg.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ #include <config.h> +#include <cstdlib> +#include <cmath> + #include "arg.h" #include "gtype.h" #include "object.h" |