]> sigrok.org Git - libsigrok.git/commitdiff
C++: include <cmath> for NAN.
authorMartin Ling <redacted>
Sat, 13 Sep 2014 19:23:23 +0000 (20:23 +0100)
committerMartin Ling <redacted>
Sat, 13 Sep 2014 19:23:23 +0000 (20:23 +0100)
bindings/cxx/classes.cpp

index ec9b6d8f289e8bddd5825fe3b3b33601951f066a..42ef6e7d4019fde915a1d9f6f56e3567cbd908f6 100644 (file)
@@ -20,6 +20,7 @@
 #include "libsigrok/libsigrok.hpp"
 
 #include <sstream>
+#include <cmath>
 
 namespace sigrok
 {