aboutsummaryrefslogtreecommitdiffstats
path: root/Meter.c
diff options
context:
space:
mode:
authorBartosz Fenski <fenio@debian.org>2005-09-20 10:49:52 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:18 +0200
commit435b6ae69f41d58f3eefdfcbd63e739387868057 (patch)
tree4376d6700abb6a42e6c83d8dbd47929748451635 /Meter.c
parent301de55b9bad8d033caa1dd829bce090cf7aaf30 (diff)
parent031c3bb95f3d0a74d985286068baa6dd4d29d83f (diff)
downloaddebian_htop-435b6ae69f41d58f3eefdfcbd63e739387868057.tar.gz
debian_htop-435b6ae69f41d58f3eefdfcbd63e739387868057.tar.bz2
debian_htop-435b6ae69f41d58f3eefdfcbd63e739387868057.zip
Imported Debian patch 0.5.3-1debian/0.5.3-1
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