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