hacks to make it compile everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@260 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -85,6 +85,9 @@ int registerd_host_only = 0;
|
|||||||
#ifdef HAVE_SYS_STREAM_H
|
#ifdef HAVE_SYS_STREAM_H
|
||||||
#include <sys/stream.h>
|
#include <sys/stream.h>
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(_AIX)
|
||||||
|
#include <sys/termio.h>
|
||||||
|
#endif
|
||||||
# ifdef HAVE_SYS_STRTTY_H
|
# ifdef HAVE_SYS_STRTTY_H
|
||||||
# include <sys/strtty.h>
|
# include <sys/strtty.h>
|
||||||
# endif
|
# endif
|
||||||
|
@@ -9,11 +9,7 @@
|
|||||||
#define AFSCALL_SETPAG 21
|
#define AFSCALL_SETPAG 21
|
||||||
|
|
||||||
#ifndef _VICEIOCTL
|
#ifndef _VICEIOCTL
|
||||||
#if defined(__STDC__)
|
|
||||||
#define _VICEIOCTL(id) ((unsigned int ) _IOW('V', id, struct ViceIoctl))
|
#define _VICEIOCTL(id) ((unsigned int ) _IOW('V', id, struct ViceIoctl))
|
||||||
#else
|
|
||||||
#define _VICEIOCTL(id) ((unsigned int ) _IOW(V, id, struct ViceIoctl))
|
|
||||||
#endif
|
|
||||||
#endif /* _VICEIOCTL */
|
#endif /* _VICEIOCTL */
|
||||||
|
|
||||||
#define VIOCSETTOK _VICEIOCTL(3)
|
#define VIOCSETTOK _VICEIOCTL(3)
|
||||||
|
@@ -35,7 +35,16 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#if TIME_WITH_SYS_TIME
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#include <time.h>
|
||||||
|
#else
|
||||||
|
#if HAVE_SYS_TIME_H
|
||||||
|
#include <sys/time.h>
|
||||||
|
#else
|
||||||
|
#include <time.h>
|
||||||
|
#endif /* !HAVE_SYS_TIME_H */
|
||||||
|
#endif /* !TIME_WITH_SYS_TIME */
|
||||||
#define TM_YEAR_BASE 1900 /* from <tzfile.h> */
|
#define TM_YEAR_BASE 1900 /* from <tzfile.h> */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user