aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 09:46:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 09:46:24 +0000
commit69c3e744983e37662fa7b4f61482fb1d142e257c (patch)
treec32f324f64bd0a581a14853b6bf638fe9d2125c0 /search.c
parentterm: don't enable ptmx FDM callback until Wayland window has been configured (diff)
util.h: new header file defining commonly used macros
Diffstat (limited to 'search.c')
-rw-r--r--search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/search.c b/search.c
index 547ac643..eef7b032 100644
--- a/search.c
+++ b/search.c
@@ -16,8 +16,7 @@
#include "render.h"
#include "selection.h"
#include "shm.h"
-
-#define max(x, y) ((x) > (y) ? (x) : (y))
+#include "util.h"
static bool
search_ensure_size(struct terminal *term, size_t wanted_size)