diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:18 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:18 +0200 |
commit | 031c3bb95f3d0a74d985286068baa6dd4d29d83f (patch) | |
tree | f8258f898976e17dfbc9df30ca357be6cb3605a5 /RichString.c | |
parent | bb3dd9e92f5a33ba5dd1192edc1671192e63cc8e (diff) | |
download | debian_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 'RichString.c')
-rw-r--r-- | RichString.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/RichString.c b/RichString.c index 63db850..7a92e08 100644 --- a/RichString.c +++ b/RichString.c @@ -4,7 +4,6 @@ #include <stdlib.h> #include <string.h> #include <curses.h> -#include <sys/param.h> #include "debug.h" #include <assert.h> @@ -20,6 +19,10 @@ typedef struct RichString_ { }*/ +#ifndef MIN +#define MIN(a,b) ((a)<(b)?(a):(b)) +#endif + /* private property */ WINDOW* workArea = NULL; |