$NetBSD$

--- include/pstypes.h.orig	2005-12-29 18:46:17.000000000 +0000
+++ include/pstypes.h
@@ -23,7 +23,7 @@ typedef signed char byte;
 
 //define unsigned types;
 typedef unsigned char ubyte;
-#ifndef __unix__
+#if !defined(__unix__) || defined(__DragonFly__)
 typedef unsigned short ushort;
 typedef unsigned int uint;
 typedef unsigned long ulong;
