summaryrefslogtreecommitdiffstats
path: root/apps/gui/pitchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/pitchscreen.c')
-rw-r--r--apps/gui/pitchscreen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c
index 8215da2a97..78d049be10 100644
--- a/apps/gui/pitchscreen.c
+++ b/apps/gui/pitchscreen.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <stdio.h>
#include <math.h>
+#include <stdlib.h> /* for ABS() */
#include "config.h"
#include "sprintf.h"
#include "action.h"
@@ -42,8 +43,6 @@
#include "tdspeed.h"
#endif
-#define ABS(x) ((x) > 0 ? (x) : -(x))
-
#define ICON_BORDER 12 /* icons are currently 7x8, so add ~2 pixels */
/* on both sides when drawing */