summaryrefslogtreecommitdiff
path: root/games/d2x/patches/patch-ab
blob: 5369e782004eb0ea31b4694ad6afbed5bebff967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2005/12/29 18:58:23 joerg Exp $

--- 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;