diff --git a/ffmpeg.c b/ffmpeg.c
index f4ab88fe5420f2a17fb609d3e6c53716c3a95135..31e9a0e158e4e08eab17d48dcaa9fca96cd73af2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -52,7 +52,7 @@
 #include <sys/select.h>
 #endif
 
-#if defined(HAVE_TERMIOS_H)
+#ifdef HAVE_TERMIOS_H
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>