From a2d558581c3cd9b3d62f916825405cebd708f268 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Mon, 2 Oct 2017 12:30:28 -0400 Subject: Grab bag of header-related cleanups. Stop including crypt-symbols.h implicitly. It's a little too much _spukhafte Fernwirkung_ for my taste, and it makes Emacs have trouble parsing the compiler's error messages. Also, rename crypt-symbols.h to crypt-port.h as this is more consistent with its current function, and have it include stdbool.h, stddef.h, and stdint.h for everyone; have configure bomb out if the C99 headers we use are not available; and normalize the order of inclusion in all files. The value of CPPFLAGS passed to test scripts now includes every last one of Automake's CPPFLAGS-fragment variables. --- test-gensalt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test-gensalt.c') diff --git a/test-gensalt.c b/test-gensalt.c index ed01e72..fb9bdba 100644 --- a/test-gensalt.c +++ b/test-gensalt.c @@ -1,8 +1,9 @@ +#include "crypt-port.h" #include "crypt-base.h" -#include #include #include +#include static const char *const entropy[] = { "\x58\x35\xcd\x26\x03\xab\x2c\x14\x92\x13\x1e\x59\xb0\xbc\xfe\xd5", -- cgit v1.2.3