summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorFrancois Tigeot <ftigeot@wolfpond.org>2011-02-27 14:15:26 +0100
committerFrancois Tigeot <ftigeot@wolfpond.org>2011-02-27 14:15:26 +0100
commit9a0fa777e2f5d757fb0a11db34e3fe28e938b0d9 (patch)
treeffde9a54a006d29c6c5cdf6117b58eecf33e0ab9 /sal/osl
parentd0655ab815f9cbb280d7fb7d57370018533dad90 (diff)
Handle DragonFly like the other BSDs in more cases.
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/file_error_transl.cxx2
-rw-r--r--sal/osl/unx/process.c2
-rw-r--r--sal/osl/unx/system.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/sal/osl/unx/file_error_transl.cxx b/sal/osl/unx/file_error_transl.cxx
index 58cd7f6ca64d..b3d35b3132bd 100644
--- a/sal/osl/unx/file_error_transl.cxx
+++ b/sal/osl/unx/file_error_transl.cxx
@@ -217,7 +217,7 @@ oslFileError oslTranslateFileError(sal_Bool bIsError, int Errno)
osl_error = osl_File_E_LOOP;
break;
-#if !(defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD))
+#if !(defined(MACOSX) || defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) || defined(DRAGONFLY))
case EILSEQ:
osl_error = osl_File_E_ILSEQ;
break;
diff --git a/sal/osl/unx/process.c b/sal/osl/unx/process.c
index 3f864b9988de..d16c025ddc36 100644
--- a/sal/osl/unx/process.c
+++ b/sal/osl/unx/process.c
@@ -42,7 +42,7 @@
#endif
-#if defined(FREEBSD) || defined(NETBSD)
+#if defined(FREEBSD) || defined(NETBSD) || defined(DRAGONFLY)
#include <machine/param.h>
#endif
diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h
index feff4aca3ff3..835b15b364fc 100644
--- a/sal/osl/unx/system.h
+++ b/sal/osl/unx/system.h
@@ -242,6 +242,7 @@
# include <netinet/tcp.h>
# include <machine/endian.h>
# define IORESOURCE_TRANSFER_BSD
+# define IOCHANNEL_TRANSFER_BSD_RENO
#endif
#ifdef AIX