Diffstat (limited to 'noncore/apps/opie-reader/pdb.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/pdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/pdb.h b/noncore/apps/opie-reader/pdb.h index 41649bd..eac3ae6 100644 --- a/noncore/apps/opie-reader/pdb.h +++ b/noncore/apps/opie-reader/pdb.h | |||
@@ -2,25 +2,27 @@ | |||
2 | /* | 2 | /* |
3 | * This header file defines some structures and types normally found in the | 3 | * This header file defines some structures and types normally found in the |
4 | * Palm SDK. However, I don't want to require the presense of the SDK for a | 4 | * Palm SDK. However, I don't want to require the presense of the SDK for a |
5 | * small utility since most Palm owners won't have it. | 5 | * small utility since most Palm owners won't have it. |
6 | * | 6 | * |
7 | * $Id$ | 7 | * $Id$ |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef __PDB_H__ | 11 | #ifndef __PDB_H__ |
12 | #define __PDB_H__ | 12 | #define __PDB_H__ |
13 | 13 | ||
14 | #ifndef _WINDOWS | ||
14 | #include <netinet/in.h> | 15 | #include <netinet/in.h> |
16 | #endif | ||
15 | #include <stdio.h> | 17 | #include <stdio.h> |
16 | 18 | ||
17 | /* Normal Palm typedefs */ | 19 | /* Normal Palm typedefs */ |
18 | typedef unsigned char UInt8; | 20 | typedef unsigned char UInt8; |
19 | typedef unsigned short UInt16; | 21 | typedef unsigned short UInt16; |
20 | typedef signed short Int16; | 22 | typedef signed short Int16; |
21 | typedef unsigned long UInt32; | 23 | typedef unsigned long UInt32; |
22 | typedef UInt32 LocalID; | 24 | typedef UInt32 LocalID; |
23 | 25 | ||
24 | /* Max length of DB name */ | 26 | /* Max length of DB name */ |
25 | #define dmDBNameLength 0x20 | 27 | #define dmDBNameLength 0x20 |
26 | 28 | ||