$OpenBSD: patch-src_SerialConnection_c,v 1.4 2012/12/18 20:41:36 jasper Exp $

- Add missing baud rates defines.

--- src/SerialConnection.c.orig	Tue Dec 18 21:37:31 2012
+++ src/SerialConnection.c	Tue Dec 18 21:38:18 2012
@@ -33,6 +33,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))
