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:
Assar Westerlund
1996-09-29 02:34:03 +00:00
parent 00faaa405e
commit 16e06de382
3 changed files with 21 additions and 19 deletions

View File

@@ -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

View File

@@ -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 :-( */

View File

@@ -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