diff options
author | Sami Kerola <kerolasa@iki.fi> | 2014-11-25 21:16:27 +0000 |
---|---|---|
committer | Alexandra Yates <alexandra.yates@linux.intel.com> | 2014-11-25 15:01:51 -0800 |
commit | 2c38bf8324807188e44d06d5e9fff7ccfe959f62 (patch) | |
tree | 4e51df0490bfc577d21e26539fc64f553a79420c | |
parent | d4fb82e4378026e0eebb4f63a57d05c478ac7695 (diff) | |
download | powertop-2.0-2c38bf8324807188e44d06d5e9fff7ccfe959f62.tar.gz |
add missing include
In file included from measurement/sysfs.cpp:27:
In file included from measurement/../lib.h:59:
In file included from /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1/string:52:
In file included from /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1/bits/basic_string.h:2850:
In file included from /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1/ext/string_conversions.h:41:
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1/cstdlib:153:11: error:
no member named 'realloc' in the global namespace
using ::realloc;
~~^
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r-- | src/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ #include <libintl.h> #include <stdint.h> +#include <stdlib.h> /* Include only for Automake builds */ #ifdef HAVE_CONFIG_H |