From 8b38d9ea49ec6fdef27f7798069d3c79c3e80fc0 Mon Sep 17 00:00:00 2001 From: Ulrich Wilkens Date: Sat, 9 May 2015 00:48:08 +0200 Subject: [PATCH] Fix broken build on OpenBSD --- cde/lib/DtSvc/DtUtil1/ActionDb.c | 1 + cde/lib/DtSvc/DtUtil1/DtHash.c | 1 + cde/lib/DtSvc/DtUtil1/Dts.c | 1 + cde/lib/DtSvc/DtUtil1/MMDb.c | 1 + cde/programs/dtcalc/help.c | 1 + cde/programs/dtcalc/motif.c | 1 + cde/programs/dtcm/dtcm/MonthPanel.c | 1 + cde/programs/dtcm/dtcm/calendarA.c | 1 + cde/programs/dtcm/dtcm/misc.c | 1 + cde/programs/dtcm/dtcm/monthglance.c | 1 + cde/programs/dtcm/dtcm/weekglance.c | 1 + cde/programs/dtcm/libDtCmP/util.c | 1 + cde/programs/dtdocbook/tcl/tclInt.h | 1 + cde/programs/dtfile/FileMgr.c | 1 + cde/programs/dtfile/FileOp.c | 1 + cde/programs/dtfile/Trash.c | 1 + cde/programs/dticon/main.c | 1 + cde/programs/dtmail/dtmail/DmxPrintOptions.C | 1 + cde/programs/dtmail/dtmail/RoamCmds.C | 1 + cde/programs/dtpad/dtpad.h | 1 + cde/programs/dtstyle/Main.h | 1 + cde/programs/dtwm/Callback.c | 1 + cde/programs/dtwm/DataBaseLoad.c | 1 + cde/programs/dtwm/Print.c | 1 + cde/programs/dtwm/UI.c | 1 + cde/programs/dtwm/WmFP.c | 1 + 26 files changed, 26 insertions(+) diff --git a/cde/lib/DtSvc/DtUtil1/ActionDb.c b/cde/lib/DtSvc/DtUtil1/ActionDb.c index df3b0089e..37078fe29 100644 --- a/cde/lib/DtSvc/DtUtil1/ActionDb.c +++ b/cde/lib/DtSvc/DtUtil1/ActionDb.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include diff --git a/cde/lib/DtSvc/DtUtil1/DtHash.c b/cde/lib/DtSvc/DtUtil1/DtHash.c index 7d9c6f981..75d9b5253 100644 --- a/cde/lib/DtSvc/DtUtil1/DtHash.c +++ b/cde/lib/DtSvc/DtUtil1/DtHash.c @@ -94,6 +94,7 @@ Author: Bart Smaalders 1/89 #include "DtHash.h" #include #include +#include #include static int hash_string(const unsigned char * s, int modulo); diff --git a/cde/lib/DtSvc/DtUtil1/Dts.c b/cde/lib/DtSvc/DtUtil1/Dts.c index afa8b9e96..4bd1bbe02 100644 --- a/cde/lib/DtSvc/DtUtil1/Dts.c +++ b/cde/lib/DtSvc/DtUtil1/Dts.c @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include diff --git a/cde/lib/DtSvc/DtUtil1/MMDb.c b/cde/lib/DtSvc/DtUtil1/MMDb.c index 3a2483cdf..2bb058f5d 100644 --- a/cde/lib/DtSvc/DtUtil1/MMDb.c +++ b/cde/lib/DtSvc/DtUtil1/MMDb.c @@ -37,6 +37,7 @@ #include #include +#include #ifdef NLS16 #include diff --git a/cde/programs/dtcalc/help.c b/cde/programs/dtcalc/help.c index 09e7ea582..b7bcbc84a 100644 --- a/cde/programs/dtcalc/help.c +++ b/cde/programs/dtcalc/help.c @@ -40,6 +40,7 @@ #include
#include
+#include #include "calctool.h" #include "motif.h" diff --git a/cde/programs/dtcalc/motif.c b/cde/programs/dtcalc/motif.c index 9088858f1..7bcdf3402 100644 --- a/cde/programs/dtcalc/motif.c +++ b/cde/programs/dtcalc/motif.c @@ -36,6 +36,7 @@ */ #include +#include #include #include #include diff --git a/cde/programs/dtcm/dtcm/MonthPanel.c b/cde/programs/dtcm/dtcm/MonthPanel.c index 8290e198b..685addb7b 100644 --- a/cde/programs/dtcm/dtcm/MonthPanel.c +++ b/cde/programs/dtcm/dtcm/MonthPanel.c @@ -59,6 +59,7 @@ */ #include #include +#include #include #include #include diff --git a/cde/programs/dtcm/dtcm/calendarA.c b/cde/programs/dtcm/dtcm/calendarA.c index 300d5b58f..9ad8c9966 100644 --- a/cde/programs/dtcm/dtcm/calendarA.c +++ b/cde/programs/dtcm/dtcm/calendarA.c @@ -54,6 +54,7 @@ static char sccsid[] = "@(#)calendarA.c 1.196 95/04/12 Copyr 1991 Sun Microsyst #include #include #include +#include #include #include /* MAXPATHLEN defined here */ #ifdef SVR4 diff --git a/cde/programs/dtcm/dtcm/misc.c b/cde/programs/dtcm/dtcm/misc.c index 2633846d6..45502b362 100644 --- a/cde/programs/dtcm/dtcm/misc.c +++ b/cde/programs/dtcm/dtcm/misc.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include diff --git a/cde/programs/dtcm/dtcm/monthglance.c b/cde/programs/dtcm/dtcm/monthglance.c index 906c41d77..adafe7ca5 100644 --- a/cde/programs/dtcm/dtcm/monthglance.c +++ b/cde/programs/dtcm/dtcm/monthglance.c @@ -54,6 +54,7 @@ static char sccsid[] = "@(#)monthglance.c 1.82 95/07/27 Copyr 1994 Sun Microsys #include #include #include +#include #include #include #include /* MAXPATHLEN defined here */ diff --git a/cde/programs/dtcm/dtcm/weekglance.c b/cde/programs/dtcm/dtcm/weekglance.c index 9f3734a2a..d65ad8df9 100644 --- a/cde/programs/dtcm/dtcm/weekglance.c +++ b/cde/programs/dtcm/dtcm/weekglance.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include /* MAXPATHLEN defined here */ diff --git a/cde/programs/dtcm/libDtCmP/util.c b/cde/programs/dtcm/libDtCmP/util.c index 94f46bcee..b089183f8 100644 --- a/cde/programs/dtcm/libDtCmP/util.c +++ b/cde/programs/dtcm/libDtCmP/util.c @@ -54,6 +54,7 @@ #include #include #include +#include #include #include #include diff --git a/cde/programs/dtdocbook/tcl/tclInt.h b/cde/programs/dtdocbook/tcl/tclInt.h index 7e10bc9f6..e446ac081 100644 --- a/cde/programs/dtdocbook/tcl/tclInt.h +++ b/cde/programs/dtdocbook/tcl/tclInt.h @@ -49,6 +49,7 @@ */ #include +#include #include /* for pid_t */ diff --git a/cde/programs/dtfile/FileMgr.c b/cde/programs/dtfile/FileMgr.c index 84ab32484..8f3be73a7 100644 --- a/cde/programs/dtfile/FileMgr.c +++ b/cde/programs/dtfile/FileMgr.c @@ -105,6 +105,7 @@ #include #include #include +#include #include #include diff --git a/cde/programs/dtfile/FileOp.c b/cde/programs/dtfile/FileOp.c index 6f7f9323f..297edc21f 100644 --- a/cde/programs/dtfile/FileOp.c +++ b/cde/programs/dtfile/FileOp.c @@ -71,6 +71,7 @@ ************************************<+>*************************************/ #include +#include #include #include #include diff --git a/cde/programs/dtfile/Trash.c b/cde/programs/dtfile/Trash.c index b49c66ba6..d9c96e5e2 100644 --- a/cde/programs/dtfile/Trash.c +++ b/cde/programs/dtfile/Trash.c @@ -101,6 +101,7 @@ #include #include #include +#include #if defined(CSRG_BASED) #include #include diff --git a/cde/programs/dticon/main.c b/cde/programs/dticon/main.c index 3d4588812..f0227c124 100644 --- a/cde/programs/dticon/main.c +++ b/cde/programs/dticon/main.c @@ -34,6 +34,7 @@ /* at the appropriate places. */ /*-----------------------------------------------------------*/ #include +#include #include #include #include diff --git a/cde/programs/dtmail/dtmail/DmxPrintOptions.C b/cde/programs/dtmail/dtmail/DmxPrintOptions.C index 3efaf32fc..c7a4736b3 100644 --- a/cde/programs/dtmail/dtmail/DmxPrintOptions.C +++ b/cde/programs/dtmail/dtmail/DmxPrintOptions.C @@ -70,6 +70,7 @@ #include +#include #include #include #include diff --git a/cde/programs/dtmail/dtmail/RoamCmds.C b/cde/programs/dtmail/dtmail/RoamCmds.C index 67b6e0742..da48bca25 100644 --- a/cde/programs/dtmail/dtmail/RoamCmds.C +++ b/cde/programs/dtmail/dtmail/RoamCmds.C @@ -76,6 +76,7 @@ #include #include #include +#include #include #include #include diff --git a/cde/programs/dtpad/dtpad.h b/cde/programs/dtpad/dtpad.h index 71e971e99..81a8e2da5 100644 --- a/cde/programs/dtpad/dtpad.h +++ b/cde/programs/dtpad/dtpad.h @@ -56,6 +56,7 @@ #define DTPAD_H #include +#include #include #include #include diff --git a/cde/programs/dtstyle/Main.h b/cde/programs/dtstyle/Main.h index 23e27195c..d802fb8d5 100644 --- a/cde/programs/dtstyle/Main.h +++ b/cde/programs/dtstyle/Main.h @@ -50,6 +50,7 @@ * #include statements */ +#include #include #include #include "Font.h" diff --git a/cde/programs/dtwm/Callback.c b/cde/programs/dtwm/Callback.c index b3fb3ea86..848e4d671 100644 --- a/cde/programs/dtwm/Callback.c +++ b/cde/programs/dtwm/Callback.c @@ -37,6 +37,7 @@ * ****************************************************************************/ +#include #include #include diff --git a/cde/programs/dtwm/DataBaseLoad.c b/cde/programs/dtwm/DataBaseLoad.c index b5986ddea..ec8870f0e 100644 --- a/cde/programs/dtwm/DataBaseLoad.c +++ b/cde/programs/dtwm/DataBaseLoad.c @@ -57,6 +57,7 @@ #include #include +#include #include diff --git a/cde/programs/dtwm/Print.c b/cde/programs/dtwm/Print.c index 40734e60e..b08009bfe 100644 --- a/cde/programs/dtwm/Print.c +++ b/cde/programs/dtwm/Print.c @@ -45,6 +45,7 @@ #include
#include "DataBaseLoad.h" #include "Parse.h" +#include #ifdef __STDC__ const char *szWM_TOOL_CLASS = DtWM_TOOL_CLASS; diff --git a/cde/programs/dtwm/UI.c b/cde/programs/dtwm/UI.c index 3a9c8fa64..ee317c800 100644 --- a/cde/programs/dtwm/UI.c +++ b/cde/programs/dtwm/UI.c @@ -65,6 +65,7 @@ #include #include +#include #define MWM_NEED_TIME16 #include "WmBitmap.h" diff --git a/cde/programs/dtwm/WmFP.c b/cde/programs/dtwm/WmFP.c index 1410d2f66..3e6a8286c 100644 --- a/cde/programs/dtwm/WmFP.c +++ b/cde/programs/dtwm/WmFP.c @@ -71,6 +71,7 @@ #include #include +#include #include