Replace functions which called once with their bodies
[pidgin-git.git] / libpurple / protocols / zephyr / sysdep.h
blob0885b2cbaba89730bd9df57c4f3ad8177e98c3d6
1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It contains system-dependent header code.
4 * Created by: Greg Hudson
6 * Copyright (c) 1988,1991 by the Massachusetts Institute of Technology.
7 * For copying and distribution information, see the file
8 * "mit-copyright.h".
9 */
11 #ifndef PURPLE_ZEPHYR_SYSDEP_H
12 #define PURPLE_ZEPHYR_SYSDEP_H
14 #include <config.h>
15 #include <stdio.h>
16 #include <errno.h>
17 #include <ctype.h>
18 #include <time.h>
19 #include <signal.h>
20 #ifndef WIN32
21 #include <syslog.h>
22 #endif
24 #include <sys/types.h>
25 #include <sys/stat.h>
26 #include <sys/param.h>
27 #include <sys/time.h>
29 #include <stdlib.h>
31 /* Strings. */
32 #include <string.h>
34 /* Exit status handling and wait(). */
35 #ifdef HAVE_SYS_WAIT_H
36 # include <sys/wait.h>
37 #endif
39 #ifdef HAVE_SYS_CDEFS_H
40 #include <sys/cdefs.h>
41 #endif
43 #include <stdarg.h>
45 #ifdef HAVE_FCNTL_H
46 # include <fcntl.h>
47 #endif
49 #ifdef HAVE_UNISTD_H
50 # include <unistd.h>
51 #else
52 # ifdef HAVE_SYS_FILE_H
53 # include <sys/file.h>
54 # endif
55 uid_t getuid(void);
56 char *ttyname(void);
57 #endif
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
74 /* Kerberos compatibility. */
75 #ifdef ZEPHYR_USES_KERBEROS
76 # include <krb.h>
77 # ifndef WIN32
78 # include <krb_err.h>
79 # ifndef HAVE_KRB_GET_ERR_TEXT
80 # define krb_get_err_text(n) krb_err_txt[n]
81 # endif
82 # endif /* WIN32 */
83 # include <des.h>
84 # ifndef HAVE_KRB_LOG
85 # define krb_log log
86 # endif
87 #endif /* ZEPHYR_USES_KERBEROS */
89 #ifdef HAVE_SYS_SELECT_H
90 # include <sys/select.h>
91 #endif
93 #ifdef HAVE_SYS_MSGBUF_H
94 #include <sys/msgbuf.h>
95 #endif
97 #endif /* PURPLE_ZEPHYR_SYSDEP_H */