aboutsummaryrefslogtreecommitdiffstats
path: root/Meter.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:18 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:18 +0200
commit031c3bb95f3d0a74d985286068baa6dd4d29d83f (patch)
treef8258f898976e17dfbc9df30ca357be6cb3605a5 /Meter.c
parentbb3dd9e92f5a33ba5dd1192edc1671192e63cc8e (diff)
downloaddebian_htop-031c3bb95f3d0a74d985286068baa6dd4d29d83f.tar.gz
debian_htop-031c3bb95f3d0a74d985286068baa6dd4d29d83f.tar.bz2
debian_htop-031c3bb95f3d0a74d985286068baa6dd4d29d83f.zip
Imported Upstream version 0.5.3upstream/0.5.3
Diffstat (limited to 'Meter.c')
-rw-r--r--Meter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Meter.c b/Meter.c
index bba5078..45cf7e2 100644
--- a/Meter.c
+++ b/Meter.c
@@ -15,7 +15,6 @@ in the source distribution for its full text.
#include <curses.h>
#include <string.h>
#include <math.h>
-#include <sys/param.h>
#include "debug.h"
#include <assert.h>
@@ -64,6 +63,10 @@ extern char* METER_CLASS;
}*/
+#ifndef MIN
+#define MIN(a,b) ((a)<(b)?(a):(b))
+#endif
+
/* private property */
char* METER_CLASS = "Meter";

© 2014-2024 Faster IT GmbH | imprint | privacy policy