$OpenBSD: patch-src_SerialConnection_c,v 1.1.1.1 2011/07/04 10:00:38 jasper Exp $

Add missing baud rates defines.

--- src/SerialConnection.c.orig	Sat Jul  2 00:45:22 2011
+++ src/SerialConnection.c	Sat Jul  2 00:47:39 2011
@@ -30,6 +30,26 @@
 #include <sys/ioctl.h>
 #include <glib/gi18n-lib.h>
 
+/* Add defines for various non-standard speeds. */
+#ifndef B460800
+#define B460800 460800
+#endif
+
+#ifndef B576000
+#define B576000 576000
+#endif
+
+#ifndef B921600
+#define B921600 921600
+#endif
+
+#ifndef B1000000
+#define B1000000 1000000
+#endif
+
+#ifndef B2000000
+#define B2000000 2000000
+#endif
 
 #define MOSERIAL_TYPE_SERIAL_CONNECTION (moserial_serial_connection_get_type ())
 #define MOSERIAL_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnection))
