From d91bdc0994a56a335e149e1307fdd9596eaa14ac Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 13 Dec 2020 09:09:10 +0700 Subject: [PATCH] initkbd: Fix warning about missing decl for strcmp. (#27) Instead of adding more stuff to the `#ifdef` around the inclusion of ``, we remove that `#ifdef` entirely. There are many instances of `` being included in the code without any `#ifdef` protection, and `strcmp` is defined to be declared in ``, so all platforms from the last 20 years and into the future will need this. --- src/initkbd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/initkbd.c b/src/initkbd.c index dba22cc..e3d8174 100644 --- a/src/initkbd.c +++ b/src/initkbd.c @@ -12,10 +12,8 @@ static char *id = "$Id: initkbd.c,v 1.2 1999/01/03 02:07:09 sybalsky Exp $ Copyr #include "version.h" #include -#include -#if defined(MACOSX) || defined(FREEBSD) #include -#endif +#include #ifndef DOS #include #include