wrap stdint.h include in HAVE_STDINT_H

make the indenting a little more consistent too..

Fixes Solaris 2.6; reported by Tom G. Christensen
This commit is contained in:
Damien Miller 2019-10-09 09:06:35 +11:00
parent 13b3369830
commit cfc1897a20
12 changed files with 16 additions and 12 deletions

View File

@ -59,7 +59,7 @@
#include <netdb.h>
#include <stdarg.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -40,7 +40,7 @@
#include <pwd.h>
#include <signal.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <stdlib.h>
#include <string.h>

2
scp.c
View File

@ -101,7 +101,7 @@
#include <signal.h>
#include <stdarg.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -24,7 +24,9 @@
#include "openbsd-compat/openssl-compat.h"
#endif
#include <stdint.h>
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>

View File

@ -24,7 +24,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#include "ssherr.h"
#include "sshbuf.h"

View File

@ -23,7 +23,7 @@
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <stdio.h>
#include <limits.h>

View File

@ -17,7 +17,7 @@
#include <stdarg.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -13,7 +13,7 @@ Public domain.
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes)

View File

@ -12,7 +12,7 @@ Public domain.
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include "xmss_fast.h"

View File

@ -15,7 +15,7 @@ Public domain.
#include <stddef.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <stdio.h>
#include <string.h>

View File

@ -9,7 +9,7 @@ Public domain.
#ifdef WITH_XMSS
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include "xmss_hash_address.h" /* prototypes */

View File

@ -11,7 +11,7 @@ Public domain.
#include <stdlib.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
# include <stdint.h>
#endif
#include <limits.h>
#include "xmss_commons.h"