diff options
author | John Denker <jsd@av8n.com> | 2014-04-27 16:35:01 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2014-04-27 16:59:31 -0700 |
commit | 74091a532dc0fec6a40724423359a0a9774793f5 (patch) | |
tree | 4ab1025f2b02509459c494e404449ecccfc84906 /tools | |
parent | e13129817877ff8a4689b151b09a85af8a5f6359 (diff) |
fix some bit-rot (getpid)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ltgrey.c | 3 | ||||
-rw-r--r-- | tools/skrewt.c | 3 | ||||
-rw-r--r-- | tools/ward.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tools/ltgrey.c b/tools/ltgrey.c index dfbc0dc..be947fa 100644 --- a/tools/ltgrey.c +++ b/tools/ltgrey.c @@ -1,6 +1,9 @@ #include <iostream> #include <stdlib.h> /* for exit(), atoi() */ +#include <sys/types.h> /* for getpid() */ +#include <unistd.h> + #include "libltgrey.h" #include "qq_exit_codes.h" #include "utils.h" diff --git a/tools/skrewt.c b/tools/skrewt.c index cd2144f..ae1eed6 100644 --- a/tools/skrewt.c +++ b/tools/skrewt.c @@ -14,6 +14,9 @@ #include <vector> #include <list> +#include <sys/types.h> /* getpid */ +#include <unistd.h> /* getpid */ + using namespace std; void usage(const int sts){ diff --git a/tools/ward.c b/tools/ward.c index e5667a4..98b351f 100644 --- a/tools/ward.c +++ b/tools/ward.c @@ -4,6 +4,9 @@ // scrutinize email // +#include <sys/types.h> /* for getpid() */ +#include <unistd.h> + #include <iostream> #include <stdlib.h> /* for exit() */ #include <string> /* for strcmp() */ |