# HG changeset patch # User Mychaela Falconia # Date 1583950882 0 # Node ID 8d7dcfd9df531f7438ada2f43560919d50e49a4e # Parent 9edb7c07bb29e85b79affbb3e743fe9f05145edd loadtools: missing #include in tpinterf modules diff -r 9edb7c07bb29 -r 8d7dcfd9df53 loadtools/tpinterf.c --- a/loadtools/tpinterf.c Wed Mar 11 17:28:11 2020 +0000 +++ b/loadtools/tpinterf.c Wed Mar 11 18:21:22 2020 +0000 @@ -1,8 +1,7 @@ /* * Target program interface - this module provides some primitives - * for communicating programmatically with loadagent and possibly - * other target-utils. This module will be linked by both - * fc-loadtool and fc-chainload. + * for communicating programmatically with loadagent and other + * target-utils. This module is linked by most loadtools programs. */ #include @@ -12,6 +11,7 @@ #include #include #include +#include extern int errno; diff -r 9edb7c07bb29 -r 8d7dcfd9df53 loadtools/tpinterf2.c --- a/loadtools/tpinterf2.c Wed Mar 11 17:28:11 2020 +0000 +++ b/loadtools/tpinterf2.c Wed Mar 11 18:21:22 2020 +0000 @@ -1,7 +1,7 @@ /* * This module provides a more advanced target interface function - * than tpinterf.c - programmatic capture of target responses, - * for dumps etc. It will be linked by fc-loadtool, but not fc-chainload. + * than tpinterf.c - programmatic capture of target responses. + * It is linked by some of our programs, but not all. */ #include @@ -11,6 +11,7 @@ #include #include #include +#include extern int errno; diff -r 9edb7c07bb29 -r 8d7dcfd9df53 loadtools/tpinterfb.c --- a/loadtools/tpinterfb.c Wed Mar 11 17:28:11 2020 +0000 +++ b/loadtools/tpinterfb.c Wed Mar 11 18:21:22 2020 +0000 @@ -10,6 +10,7 @@ #include #include #include +#include extern int errno;