summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2017-02-09 09:19:31 +0100
committerThomas Graf <tgraf@suug.ch>2017-02-09 07:15:05 -0800
commit14db0bff4cb2fac7ca2705ae00ada4b38ae81951 (patch)
treeb033ad45551794e543ed3e9af6c4793b5dd28cff
parent341375179514bfd96f2d6001df15a4079631491b (diff)
Avoid trying to include <values.h> on Android
The <values.h> header file is not present on Android, and the project builds there without it.
-rw-r--r--include/bmon/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bmon/config.h b/include/bmon/config.h
index ad6a367..e1d749f 100644
--- a/include/bmon/config.h
+++ b/include/bmon/config.h
@@ -48,7 +48,7 @@
#include <dirent.h>
#ifdef SYS_BSD
# include <float.h>
-#else
+#elif !defined(__ANDROID__)
# include <values.h>
#endif