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:
@@ -9,11 +9,7 @@
|
||||
#define AFSCALL_SETPAG 21
|
||||
|
||||
#ifndef _VICEIOCTL
|
||||
#if defined(__STDC__)
|
||||
#define _VICEIOCTL(id) ((unsigned int ) _IOW('V', id, struct ViceIoctl))
|
||||
#else
|
||||
#define _VICEIOCTL(id) ((unsigned int ) _IOW(V, id, struct ViceIoctl))
|
||||
#endif
|
||||
#endif /* _VICEIOCTL */
|
||||
|
||||
#define VIOCSETTOK _VICEIOCTL(3)
|
||||
|
@@ -35,7 +35,16 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#if TIME_WITH_SYS_TIME
|
||||
#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> */
|
||||
#include <string.h>
|
||||
|
||||
|
Reference in New Issue
Block a user