[tor-commits] [tor/master] process.h: include stdbool.h

nickm at torproject.org nickm at torproject.org
Thu Jan 9 12:32:54 UTC 2020


commit 3ad518cd97e0a211dc2a3a9d759d8f85d4896d52
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Dec 16 13:37:49 2019 -0500

    process.h: include stdbool.h
    
    We use bool, so we should include stdbool.
---
 src/lib/process/process.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/process/process.h b/src/lib/process/process.h
index d0a66c490..7ab59fb26 100644
--- a/src/lib/process/process.h
+++ b/src/lib/process/process.h
@@ -15,6 +15,8 @@
 #include "lib/malloc/malloc.h"
 #include "lib/string/printf.h"
 
+#include <stdbool.h>
+
 /** Maximum number of bytes to write to a process' stdin. */
 #define PROCESS_MAX_WRITE (1024)
 





More information about the tor-commits mailing list