--- setserial.c.orig	2000-01-27 16:40:52.000000000 +0100
+++ setserial.c	2010-03-25 21:48:21.554872081 +0100
@@ -24,6 +24,8 @@
 #endif
 #include <linux/serial.h>
 
+#undef TIOCGHAYESESP
+
 #include "version.h"
 
 static char version_str[] = "setserial version " SETSERIAL_VERSION ", "
