From 4d3ae034b7c02b6a94e04ec7a32582379b6f4716 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Fri, 6 Jun 2014 18:25:31 -0400 Subject: crypt: don't include ufc-crypt.h multiple times The file has no inclusion guards, and contains typedefs that cause errors when included multiple times with older (pre-C11) compilers such as gcc 4.4. Save the "#ifdef DOS" content to crypt-private.h even though it's likely not particularly useful. --- crypt/crypt-private.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crypt/crypt-private.h') diff --git a/crypt/crypt-private.h b/crypt/crypt-private.h index ea46a7f949..b6a5e07b36 100644 --- a/crypt/crypt-private.h +++ b/crypt/crypt-private.h @@ -28,7 +28,16 @@ #include #include +#ifndef DOS #include "ufc-crypt.h" +#else +/* + * Thanks to greg%wind@plains.NoDak.edu (Greg W. Wettstein) + * for DOS patches + */ +#include "pl.h" +#include "ufc.h" +#endif #include "crypt.h" /* crypt.c */ -- cgit 1.4.1