autoconfed a little to make it compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@797 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,13 +45,15 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef MSDOS
|
||||
#include <string.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#define RAND
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
@@ -60,22 +62,16 @@
|
||||
#ifdef VMS
|
||||
#include <types.h>
|
||||
#include <stat.h>
|
||||
#else
|
||||
#ifndef _IRIX
|
||||
#endif
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#if defined(NOCONST)
|
||||
#define const
|
||||
#endif
|
||||
#include "des.h"
|
||||
|
||||
#if defined(__STDC__) || defined(VMS) || defined(M_XENIX) || defined(MSDOS)
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef RAND
|
||||
#ifndef HAVE_RANDOM
|
||||
#define random rand
|
||||
#define srandom(s) srand(s)
|
||||
#endif
|
||||
|
@@ -45,14 +45,16 @@
|
||||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef MSDOS
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include "des.h"
|
||||
|
||||
/* tisk tisk - the test keys don't all have odd parity :-( */
|
||||
|
@@ -48,6 +48,10 @@
|
||||
/* 11-Sep-92 Andrew Daviel Support for Silicon Graphics IRIX added */
|
||||
/* 06-Apr-92 Luke Brennan Support for VMS and add extra signal calls */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef MSDOS
|
||||
#define TIMES
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user