server: Add checks for DragonFly BSD.
This commit is contained in:
parent
a91ef5217d
commit
89e462b141
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue