summaryrefslogtreecommitdiff
path: root/tools/intel_display_poller.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-10-10 11:20:35 +0100
committerThomas Wood <thomas.wood@intel.com>2014-10-17 15:34:43 +0100
commitbe4710a541b517b5f8663448bffed5656d59b47b (patch)
tree65b5f7c23c98c52f0972e5a43d518292757f9b3e /tools/intel_display_poller.c
parentd4e3b6a0f5cd759182a53e2bc51a3d3f317a81f0 (diff)
lib: add common min and max macros
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tools/intel_display_poller.c')
-rw-r--r--tools/intel_display_poller.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/intel_display_poller.c b/tools/intel_display_poller.c
index ebc594a0..2eab6c49 100644
--- a/tools/intel_display_poller.c
+++ b/tools/intel_display_poller.c
@@ -36,9 +36,7 @@
#include "intel_io.h"
#include "igt_debugfs.h"
#include "drmtest.h"
-
-#define min(a,b) ((a) < (b) ? (a) : (b))
-#define max(a,b) ((a) > (b) ? (a) : (b))
+#include "igt_aux.h"
enum test {
TEST_INVALID,