FreeCalypso > hg > freecalypso-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
694:9edb7c07bb29 | 695:8d7dcfd9df53 |
---|---|
1 /* | 1 /* |
2 * This module provides a more advanced target interface function | 2 * This module provides a more advanced target interface function |
3 * than tpinterf.c - programmatic capture of target responses, | 3 * than tpinterf.c - programmatic capture of target responses. |
4 * for dumps etc. It will be linked by fc-loadtool, but not fc-chainload. | 4 * It is linked by some of our programs, but not all. |
5 */ | 5 */ |
6 | 6 |
7 #include <sys/types.h> | 7 #include <sys/types.h> |
8 #include <sys/time.h> | 8 #include <sys/time.h> |
9 #include <sys/errno.h> | 9 #include <sys/errno.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
11 #include <string.h> | 11 #include <string.h> |
12 #include <strings.h> | 12 #include <strings.h> |
13 #include <stdlib.h> | 13 #include <stdlib.h> |
14 #include <unistd.h> | |
14 | 15 |
15 extern int errno; | 16 extern int errno; |
16 | 17 |
17 extern int target_fd; | 18 extern int target_fd; |
18 | 19 |