summaryrefslogtreecommitdiff
path: root/Xos_r.h
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-03-02 11:20:29 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-03-02 11:20:29 +0000
commitd761e87224d3e60c5355ac3e3468835fc3b4be92 (patch)
tree603233b59da38983dac56064c0ac7bea71f6501d /Xos_r.h
parent1cae0cb4b1442b34d76ee5623fb2a17ed2353c50 (diff)
xc/config/cf/DragonFly.cf
xc/config/cf/Imake.cf xc/config/cf/Imakefile xc/config/imake/imake.c xc/config/imake/imakemdep.h xc/extras/drm/shared/drm.h xc/include/Xos_r.h xc/lib/xtrans/Xtranssock.c xc/programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c //bugs.freedesktop.org/show_bug.cgi?id=1712) attachment #2004 (https://bugs.freedesktop.org/attachment.cgi?id=2004): Add support for DragonFly/BSD platform. Patch by Jeroen Ruigrok <asmodai@tendra.org> and Mike Verona <firedragonfly@gmail.com>.
Diffstat (limited to 'Xos_r.h')
-rw-r--r--Xos_r.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xos_r.h b/Xos_r.h
index 8b10a2c..590392c 100644
--- a/Xos_r.h
+++ b/Xos_r.h
@@ -257,7 +257,7 @@ typedef struct {
*/
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
- defined(__APPLE__)
+ defined(__APPLE__) || defined(__DragonFly__)
static __inline__ void _Xpw_copyPasswd(_Xgetpwparams p)
{
memcpy(&(p).pws, (p).pwp, sizeof(struct passwd));
@@ -427,7 +427,7 @@ typedef int _Xgetservbynameparams; /* dummy */
/* UnixWare 2.0, or other systems with thread support but no _r API. */
/* WARNING: The h_addr_list and s_aliases values are *not* copied! */
-#if defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/param.h>
#endif