diff loadtools/tpinterf2.c @ 695:8d7dcfd9df53

loadtools: missing #include <unistd.h> in tpinterf modules
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 11 Mar 2020 18:21:22 +0000
parents e7502631a0f9
children
line wrap: on
line diff
--- 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 <sys/types.h>
@@ -11,6 +11,7 @@
 #include <string.h>
 #include <strings.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int errno;