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.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifndef MSDOS
|
#include <string.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#else
|
|
||||||
#include <io.h>
|
|
||||||
#define RAND
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
@@ -60,22 +62,16 @@
|
|||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <stat.h>
|
#include <stat.h>
|
||||||
#else
|
#endif
|
||||||
#ifndef _IRIX
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_SYS_STAT_H
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(NOCONST)
|
|
||||||
#define const
|
|
||||||
#endif
|
|
||||||
#include "des.h"
|
#include "des.h"
|
||||||
|
|
||||||
#if defined(__STDC__) || defined(VMS) || defined(M_XENIX) || defined(MSDOS)
|
#ifndef HAVE_RANDOM
|
||||||
#include <string.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef RAND
|
|
||||||
#define random rand
|
#define random rand
|
||||||
#define srandom(s) srand(s)
|
#define srandom(s) srand(s)
|
||||||
#endif
|
#endif
|
||||||
|
@@ -45,14 +45,16 @@
|
|||||||
* [including the GNU Public Licence.]
|
* [including the GNU Public Licence.]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifndef MSDOS
|
|
||||||
#include <unistd.h>
|
|
||||||
#else
|
|
||||||
#include <io.h>
|
|
||||||
#endif
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
#include "des.h"
|
#include "des.h"
|
||||||
|
|
||||||
/* tisk tisk - the test keys don't all have odd parity :-( */
|
/* 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 */
|
/* 11-Sep-92 Andrew Daviel Support for Silicon Graphics IRIX added */
|
||||||
/* 06-Apr-92 Luke Brennan Support for VMS and add extra signal calls */
|
/* 06-Apr-92 Luke Brennan Support for VMS and add extra signal calls */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MSDOS
|
#ifndef MSDOS
|
||||||
#define TIMES
|
#define TIMES
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user