diff loadtools/tpinterf.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/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 <sys/types.h>
@@ -12,6 +11,7 @@
 #include <string.h>
 #include <strings.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int errno;