Code

Use stdbool.h's bool type instead of _Bool.
[sysdb.git] / src / include / frontend / sock.h
index 2b93a6f724d1adaca687d81e149fa49fecb5bf68..be07329d41e42f60f0ce41fcd51e18a46391735a 100644 (file)
@@ -25,6 +25,7 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <stdbool.h>
 #include <unistd.h>
 
 #ifndef SDB_FRONTEND_SOCK_H
@@ -40,7 +41,7 @@ typedef struct {
        size_t num_threads;
 
        /* front-end listener shuts down when this is set to false */
-       _Bool do_loop;
+       bool do_loop;
 } sdb_fe_loop_t;
 #define SDB_FE_LOOP_INIT { 5, 1 }