Commit | Line | Data |
---|---|---|
d325e28c SG |
1 | #ifndef _HPPAHPUX_H |
2 | #define _HPPAHPUX_H | |
3 | ||
3fd76e58 SG |
4 | #include <fcntl.h> |
5 | #include <errno.h> | |
6 | #include <stdio.h> | |
7 | #include <sys/types.h> | |
8 | #include <sys/stat.h> | |
9 | #include <ctype.h> | |
10 | #include <string.h> | |
11 | #include <sys/file.h> | |
b85bd0c1 | 12 | #include <memory.h> |
d9a30dc6 SG |
13 | #include <stdlib.h> |
14 | ||
15 | #define HOST_HPPAHPUX | |
ad486d77 SG |
16 | |
17 | void free(); | |
18 | ||
3fd76e58 SG |
19 | #ifndef O_ACCMODE |
20 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
21 | #endif | |
22 | #define SEEK_SET 0 | |
23 | #define SEEK_CUR 1 | |
24 | ||
acc7c493 ILT |
25 | #ifndef __STDC__ |
26 | #define NATIVE_HPPAHPUX_COMPILER | |
27 | #endif | |
28 | ||
3fd7451e ILT |
29 | #define USE_UTIME |
30 | ||
3fd76e58 SG |
31 | #if 0 |
32 | static int | |
33 | rename(from, to) | |
34 | { | |
35 | unlink(to); | |
36 | return(link(from, to)); | |
37 | } | |
38 | #endif | |
39 | ||
3fd76e58 | 40 | #include "fopen-same.h" |
d325e28c SG |
41 | |
42 | #endif /* _HPPAHPUX_H */ |