From c3989dd2956a0cc333285392a67680e57e61b284 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 22 Oct 2006 20:37:26 +0000 Subject: merged from NetBSD patchset. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9368 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/serial/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgphoto2_port/serial') diff --git a/libgphoto2_port/serial/unix.c b/libgphoto2_port/serial/unix.c index 17045166a..831ff4bdc 100644 --- a/libgphoto2_port/serial/unix.c +++ b/libgphoto2_port/serial/unix.c @@ -444,7 +444,7 @@ gp_port_serial_open (GPPort *dev) } dev->pl->fd = -1; -#if defined(__FreeBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__) dev->pl->fd = open (port, O_RDWR | O_NOCTTY | O_NONBLOCK); #elif OS2 fd = open (port, O_RDWR | O_BINARY); -- cgit v1.2.1