diff --git a/src/dbStatic/dbExpand.c b/src/dbStatic/dbExpand.c index 475933593..894be7d46 100644 --- a/src/dbStatic/dbExpand.c +++ b/src/dbStatic/dbExpand.c @@ -22,6 +22,7 @@ of this distribution. #include #include "dbDefs.h" +#include "osiThread.h" #include "epicsPrint.h" #include "errMdef.h" #include "dbStaticLib.h" @@ -47,6 +48,7 @@ int main(int argc,char **argv) static char *pathSep = OSI_PATH_LIST_SEPARATOR; static char *subSep = ","; + threadInit(); /*Look for options*/ if(argc<2) { fprintf(stderr, diff --git a/src/dbStatic/dbReadTest.c b/src/dbStatic/dbReadTest.c index de7bc1055..91541c4e3 100644 --- a/src/dbStatic/dbReadTest.c +++ b/src/dbStatic/dbReadTest.c @@ -22,6 +22,7 @@ of this distribution. #include #include "dbDefs.h" +#include "osiThread.h" #include "epicsPrint.h" #include "errMdef.h" #include "dbStaticLib.h" @@ -47,6 +48,7 @@ int main(int argc,char **argv) static char *pathSep = OSI_PATH_LIST_SEPARATOR; static char *subSep = ","; + threadInit(); /*Look for options*/ if(argc<2) { printf("usage: dbReadTest -Idir -Smacsub file.dbd file.db \n"); diff --git a/src/dbStatic/dbToMenuH.c b/src/dbStatic/dbToMenuH.c index 8acac08de..b6daa93e3 100644 --- a/src/dbStatic/dbToMenuH.c +++ b/src/dbStatic/dbToMenuH.c @@ -21,6 +21,7 @@ of this distribution. #include #include "dbDefs.h" +#include "osiThread.h" #include "epicsPrint.h" #include "errMdef.h" #include "dbStaticLib.h" @@ -51,6 +52,7 @@ int main(int argc,char **argv) static char *pathSep = OSI_PATH_LIST_SEPARATOR; static char *subSep = ","; + threadInit(); /*Look for options*/ if(argc<2) { fprintf(stderr,"usage: dbToMenu -Idir -Idir file.dbd [outfile]\n"); diff --git a/src/dbStatic/dbToRecordtypeH.c b/src/dbStatic/dbToRecordtypeH.c index fa49d2539..4bc85b288 100644 --- a/src/dbStatic/dbToRecordtypeH.c +++ b/src/dbStatic/dbToRecordtypeH.c @@ -22,6 +22,7 @@ of this distribution. #include #include "dbDefs.h" +#include "osiThread.h" #include "epicsPrint.h" #include "errMdef.h" #include "dbStaticLib.h" @@ -55,6 +56,7 @@ int main(int argc,char **argv) static char *pathSep = OSI_PATH_LIST_SEPARATOR; static char *subSep = ","; + threadInit(); /*Look for options*/ if(argc<2) { fprintf(stderr,"usage: dbToRecordtypeH -Idir -Idir file.dbd [outfile]\n");