From b9897750854d1ddc68bd256b938078629a5dd178 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 24 Sep 2012 17:07:55 -0500 Subject: [PATCH] followup for cent5 --- src/switch_core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/switch_core.c b/src/switch_core.c index a747a9dc27..7bd11609d3 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -186,6 +186,9 @@ SWITCH_DECLARE(FILE *) switch_core_get_console(void) return runtime.console; } +#ifdef HAVE_SYS_IOCTL_H +#include +#endif SWITCH_DECLARE(void) switch_core_screen_size(int *x, int *y) {