aboutsummaryrefslogtreecommitdiffstats
path: root/security/rsaref/files/patch-ab
blob: 6c1a25fc9a1720098524c4f109c7c1f42711336e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
*** global.h.ORIG	Sat Sep 26 12:26:48 1998
--- global.h	Sat Sep 26 12:27:44 1998
***************
*** 19,29 ****
--- 19,35 ----
  /* POINTER defines a generic pointer type */
  typedef unsigned char *POINTER;
  
+ #if 0
  /* UINT2 defines a two byte word */
  typedef unsigned short int UINT2;
  
  /* UINT4 defines a four byte word */
  typedef unsigned long int UINT4;
+ #else
+ #include <sys/types.h>
+ typedef u_int16_t UINT2;
+ typedef u_int32_t UINT4;
+ #endif
  
  #ifndef NULL_PTR
  #define NULL_PTR ((POINTER)0)