diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2018-07-03 13:53:54 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2018-07-03 13:53:54 +0000 |
commit | ab40f58ccfe6c07ebefddc72f4661a52fe746353 (patch) | |
tree | 4c46fd145362417f7932978c2553ac69dad4c02b /sbin/hastd | |
parent | f41c578fed688ad35d763283c9c68866a4a0becd (diff) | |
download | src-ab40f58ccfe6c07ebefddc72f4661a52fe746353.tar.gz src-ab40f58ccfe6c07ebefddc72f4661a52fe746353.zip |
o Ensure va_list is declared by including stdarg.h.
o Also move printf.h to go after it since it does require declaration
of va_list.
This fixes build with latest RISC-V GNU Toolchain with GCC 8.1
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/head/; revision=335888
Diffstat (limited to 'sbin/hastd')
-rw-r--r-- | sbin/hastd/pjdlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/pjdlog.c b/sbin/hastd/pjdlog.c index 9ac9a69b75da..9af694ba9951 100644 --- a/sbin/hastd/pjdlog.c +++ b/sbin/hastd/pjdlog.c @@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$"); #include <assert.h> #include <errno.h> #include <libutil.h> -#include <printf.h> #include <stdarg.h> +#include <printf.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> |