summaryrefslogtreecommitdiff
path: root/src/tc-proc.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-24 21:03:42 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-24 21:03:42 +0200
commit532d4a24e2013262dfa41fd85c06a9715c99abf7 (patch)
tree3b7f4fac1e983ead408c20a2f330b41aa2399ab1 /src/tc-proc.c
parenta1bdcfa3ca8af4ddb69ee57d716aa943cf3fe94a (diff)
New upstream version 4.7upstream/4.7
Diffstat (limited to 'src/tc-proc.c')
-rw-r--r--src/tc-proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tc-proc.c b/src/tc-proc.c
index 7ec982f..904c450 100644
--- a/src/tc-proc.c
+++ b/src/tc-proc.c
@@ -7,10 +7,12 @@
*/
#ifdef __cplusplus
# include <cerrno>
+# include <cstdio>
# include <cstdlib>
# include <cstring>
#else
# include <errno.h>
+# include <stdio.h>
# include <stdlib.h>
# include <string.h>
#endif
@@ -56,6 +58,7 @@ int main(void)
{
if (HX_init() <= 0)
abort();
+ printf("top fd: %d\n", HXproc_top_fd());
/* let it fail - test verbosity */
HXproc_run_sync(t_args1 + 2, HXPROC_VERBOSE);