Fix build on -current (don't shadow typedef ushort)

This commit is contained in:
Kris Kennaway 2002-09-29 06:45:34 +00:00
parent 7f6fda9569
commit 32c9e244e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67229
3 changed files with 31 additions and 0 deletions

11
comms/mlan/files/patch-ad Normal file
View file

@ -0,0 +1,11 @@
--- ./source/apps/thermo/thermo.h.orig Sat Sep 28 23:52:11 2002
+++ ./source/apps/thermo/thermo.h Sat Sep 28 23:52:21 2002
@@ -18,6 +18,8 @@
//
// Version: 1.03
//
+
+#include <sys/types.h>
#ifndef THERMO_TYPES

10
comms/mlan/files/patch-ae Normal file
View file

@ -0,0 +1,10 @@
--- ./source/lib/general/mlan.h.orig Sat Sep 28 23:53:45 2002
+++ ./source/lib/general/mlan.h Sat Sep 28 23:53:54 2002
@@ -34,7 +34,6 @@
#ifndef MLAN_UCHAR
#define MLAN_UCHAR
typedef unsigned char uchar;
- typedef unsigned short ushort;
typedef unsigned long ulong;
#endif

10
comms/mlan/files/patch-af Normal file
View file

@ -0,0 +1,10 @@
--- ./source/lib/userial/mlan.h.orig Sat Sep 28 23:54:17 2002
+++ ./source/lib/userial/mlan.h Sat Sep 28 23:53:58 2002
@@ -34,7 +34,6 @@
#ifndef MLAN_UCHAR
#define MLAN_UCHAR
typedef unsigned char uchar;
- typedef unsigned short ushort;
typedef unsigned long ulong;
#endif