--- pgp/src/system.h 2018/04/24 16:40:50 1.1.1.2 +++ pgp/src/system.h 2018/04/24 16:42:07 1.1.1.3 @@ -1,38 +1,38 @@ -#ifndef SYSTEM_H -#define SYSTEM_H - -#ifdef UNIX -#if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD) -#define HAVE_UNISTD_H -#endif - -#ifdef HAVE_UNISTD_H -#include -#else -#include -#include -#endif - -int getch(); -int kbhit(); - -/* replacement function for obsolete clock(), just provides random data */ -long Clock(); - -#endif /* UNIX */ - -#if defined(UNIX) || defined(AMIGA) || defined(VMS) -void ttycbreak(); -void ttynorm(); -#else -#define ttycbreak() /* nothing */ -#define ttynorm() /* nothing */ -#endif - -#if !defined(MSDOS) && !defined(ATARI) -char *strlwr(char *); -#endif - -void breakHandler(int); - -#endif /* SYSTEM_H */ +#ifndef SYSTEM_H +#define SYSTEM_H + +#ifdef UNIX +#if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD) +#define HAVE_UNISTD_H +#endif + +#ifdef HAVE_UNISTD_H +#include +#else +#include +#include +#endif + +int getch(); +int kbhit(); + +/* replacement function for obsolete clock(), just provides random data */ +long Clock(); + +#endif /* UNIX */ + +#if defined(UNIX) || defined(AMIGA) || defined(VMS) +void ttycbreak(); +void ttynorm(); +#else +#define ttycbreak() /* nothing */ +#define ttynorm() /* nothing */ +#endif + +#if !defined(MSDOS) && !defined(ATARI) +char *strlwr(char *); +#endif + +void breakHandler(int); + +#endif /* SYSTEM_H */