Sun, 10 Nov 2019 04:58:08 -0500
zephyr: Delete unused error message code.
| 2086 | 1 | /* This file is part of the Project Athena Zephyr Notification System. |
| 2 | * It contains system-dependent header code. | |
| 3 | * | |
| 4 | * Created by: Greg Hudson | |
| 5 | * | |
| 6 | * Copyright (c) 1988,1991 by the Massachusetts Institute of Technology. | |
| 7 | * For copying and distribution information, see the file | |
|
31293
169eeb43b52c
Remove trailing whitespace
Richard Laager <rlaager@pidgin.im>
parents:
15435
diff
changeset
|
8 | * "mit-copyright.h". |
| 2086 | 9 | */ |
| 10 | ||
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
11 | #ifndef PURPLE_ZEPHYR_SYSDEP_H |
|
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
12 | #define PURPLE_ZEPHYR_SYSDEP_H |
| 2086 | 13 | |
| 14 | #include <config.h> | |
| 15 | #include <stdio.h> | |
| 16 | #include <errno.h> | |
| 17 | #include <ctype.h> | |
| 18 | #include <time.h> | |
| 19 | #include <signal.h> | |
| 10867 | 20 | #ifndef WIN32 |
| 2086 | 21 | #include <syslog.h> |
| 10867 | 22 | #endif |
| 23 | ||
| 2086 | 24 | #include <sys/types.h> |
| 25 | #include <sys/stat.h> | |
| 26 | #include <sys/param.h> | |
| 27 | #include <sys/time.h> | |
| 28 | ||
|
38047
312be70f9de6
Remove AC_HEADER_STDC and related C89 tests.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37229
diff
changeset
|
29 | #include <stdlib.h> |
| 2086 | 30 | |
| 31 | /* Strings. */ | |
|
38047
312be70f9de6
Remove AC_HEADER_STDC and related C89 tests.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37229
diff
changeset
|
32 | #include <string.h> |
| 2086 | 33 | |
| 34 | /* Exit status handling and wait(). */ | |
| 35 | #ifdef HAVE_SYS_WAIT_H | |
| 36 | # include <sys/wait.h> | |
| 37 | #endif | |
| 38 | ||
| 39 | #ifdef HAVE_SYS_CDEFS_H | |
| 40 | #include <sys/cdefs.h> | |
| 41 | #endif | |
| 42 | ||
|
39829
ce056c64e426
zephyr: Remove support for compilers without __STDC__.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39819
diff
changeset
|
43 | #include <stdarg.h> |
| 2086 | 44 | |
| 45 | #ifdef HAVE_FCNTL_H | |
| 46 | # include <fcntl.h> | |
| 47 | #endif | |
| 48 | ||
| 49 | #ifdef HAVE_UNISTD_H | |
| 50 | # include <unistd.h> | |
| 51 | #else | |
| 52 | # ifdef HAVE_SYS_FILE_H | |
| 53 | # include <sys/file.h> | |
| 54 | # endif | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
11107
diff
changeset
|
55 | uid_t getuid(void); |
|
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
11107
diff
changeset
|
56 | char *ttyname(void); |
| 2086 | 57 | #endif |
| 58 | ||
| 59 | #ifdef HAVE_TERMIOS_H | |
| 60 | # include <termios.h> | |
| 61 | #else | |
| 62 | # ifdef HAVE_SYS_FILIO_H | |
| 63 | # include <sys/filio.h> | |
| 64 | # else | |
| 65 | # ifdef HAVE_SGTTY_H | |
| 66 | # include <sgtty.h> | |
| 67 | # endif | |
| 68 | # ifdef HAVE_SYS_IOCTL_H | |
| 69 | # include <sys/ioctl.h> | |
| 70 | # endif | |
| 71 | # endif | |
| 72 | #endif | |
| 73 | ||
| 74 | /* Kerberos compatibility. */ | |
| 75 | #ifdef ZEPHYR_USES_KERBEROS | |
| 76 | # include <krb.h> | |
|
39830
c6fc1928c22c
zephyr: Remove unused defines and headers.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39829
diff
changeset
|
77 | # ifndef WIN32 |
|
c6fc1928c22c
zephyr: Remove unused defines and headers.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39829
diff
changeset
|
78 | # include <krb_err.h> |
|
c6fc1928c22c
zephyr: Remove unused defines and headers.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39829
diff
changeset
|
79 | # endif /* WIN32 */ |
| 2086 | 80 | # include <des.h> |
| 10867 | 81 | #endif /* ZEPHYR_USES_KERBEROS */ |
| 2086 | 82 | |
| 83 | #ifdef HAVE_SYS_SELECT_H | |
| 84 | # include <sys/select.h> | |
| 85 | #endif | |
| 86 | ||
| 87 | #ifdef HAVE_SYS_MSGBUF_H | |
| 88 | #include <sys/msgbuf.h> | |
| 89 | #endif | |
| 90 | ||
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
91 | #endif /* PURPLE_ZEPHYR_SYSDEP_H */ |