Use HAVE_STDBOOL_H to detect systems w/o stdbool.h.

Bug #778
This commit is contained in:
Todd C. Miller
2017-03-10 11:49:07 -07:00
parent a86d399ef6
commit 453360666c

View File

@@ -20,7 +20,11 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
#else
# include "compat/stdbool.h"
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif /* HAVE_STRING_H */