src/protocols/zephyr/sysdep.h

changeset 10867
b39f9b646d6c
parent 2086
007508451e2c
child 11027
4d9a6e854cec
equal deleted inserted replaced
10866:40eab743e22b 10867:b39f9b646d6c
2 * It contains system-dependent header code. 2 * It contains system-dependent header code.
3 * 3 *
4 * Created by: Greg Hudson 4 * Created by: Greg Hudson
5 * 5 *
6 * $Source$ 6 * $Source$
7 * $Author: warmenhoven $ 7 * $Author: thekingant $
8 * $Zephyr: /mit/zephyr/src/include/zephyr/RCS/zephyr_conf.h,v 1.8 90/12/21 17:40:40 raeburn Exp $ 8 * $Zephyr: /mit/zephyr/src/include/zephyr/RCS/zephyr_conf.h,v 1.8 90/12/21 17:40:40 raeburn Exp $
9 * 9 *
10 * Copyright (c) 1988,1991 by the Massachusetts Institute of Technology. 10 * Copyright (c) 1988,1991 by the Massachusetts Institute of Technology.
11 * For copying and distribution information, see the file 11 * For copying and distribution information, see the file
12 * "mit-copyright.h". 12 * "mit-copyright.h".
19 #include <stdio.h> 19 #include <stdio.h>
20 #include <errno.h> 20 #include <errno.h>
21 #include <ctype.h> 21 #include <ctype.h>
22 #include <time.h> 22 #include <time.h>
23 #include <signal.h> 23 #include <signal.h>
24 #ifndef WIN32
24 #include <syslog.h> 25 #include <syslog.h>
26 #endif
27
25 #include <sys/types.h> 28 #include <sys/types.h>
26 #include <sys/stat.h> 29 #include <sys/stat.h>
27 #include <sys/param.h> 30 #include <sys/param.h>
28 #include <sys/time.h> 31 #include <sys/time.h>
29 32
161 #endif 164 #endif
162 165
163 /* Kerberos compatibility. */ 166 /* Kerberos compatibility. */
164 #ifdef ZEPHYR_USES_KERBEROS 167 #ifdef ZEPHYR_USES_KERBEROS
165 # include <krb.h> 168 # include <krb.h>
169 #ifdef WIN32
170
171 #else
166 # include <krb_err.h> 172 # include <krb_err.h>
173 #endif /* WIN32 */
167 # include <des.h> 174 # include <des.h>
175 #ifndef WIN32
168 # ifndef HAVE_KRB_GET_ERR_TEXT 176 # ifndef HAVE_KRB_GET_ERR_TEXT
169 # define krb_get_err_text(n) krb_err_txt[n] 177 # define krb_get_err_text(n) krb_err_txt[n]
170 # endif 178 # endif
179 #endif /* WIN32 */
171 # ifndef HAVE_KRB_LOG 180 # ifndef HAVE_KRB_LOG
172 # define krb_log log 181 # define krb_log log
173 # endif 182 # endif
174 #endif 183 #endif /* ZEPHYR_USES_KERBEROS */
175 184
176 #ifdef HAVE_SYS_UIO_H 185 #ifdef HAVE_SYS_UIO_H
177 # include <sys/uio.h> 186 # include <sys/uio.h>
178 #endif 187 #endif
179 188

mercurial