]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
followup for cent5
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 24 Sep 2012 22:07:55 +0000 (17:07 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 24 Sep 2012 22:07:55 +0000 (17:07 -0500)
src/switch_core.c

index a747a9dc2771f773c104db681eaf9b4bf0e4227f..7bd11609d32b4d1fead7e590fd9396d3110b6542 100644 (file)
@@ -186,6 +186,9 @@ SWITCH_DECLARE(FILE *) switch_core_get_console(void)
        return runtime.console;
 }
 
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
 SWITCH_DECLARE(void) switch_core_screen_size(int *x, int *y)
 {