server: Add checks for DragonFly BSD.

This commit is contained in:
André Hentschel 2012-05-28 19:21:04 +02:00 committed by Alexandre Julliard
parent a91ef5217d
commit 89e462b141
2 changed files with 2 additions and 2 deletions

View File

@ -924,7 +924,7 @@ static int is_device_removable( dev_t dev, int unix_fd )
return (stfs.f_type == 0x9660 || /* iso9660 */
stfs.f_type == 0x9fa1 || /* supermount */
stfs.f_type == 0x15013346); /* udf */
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__APPLE__)
struct statfs stfs;
if (fstatfs( unix_fd, &stfs ) == -1) return 0;

View File

@ -656,7 +656,7 @@ void set_thread_context( struct thread *thread, const context_t *context, unsign
}
#elif defined(__i386__) && defined(PTRACE_GETDBREGS) && defined(PTRACE_SETDBREGS) && \
(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__NetBSD__))
(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__))
#include <machine/reg.h>