diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-21 01:37:01 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-21 01:37:01 -0800 |
| commit | e5548fb00024af790f4422c86a8b9784909e76f9 (patch) | |
| tree | 495aeafcf6efe2d6906a7314915dd4af58879860 | |
| parent | 44f983ef691112993710a5456ed6d15da1d51420 (diff) | |
| download | nng-e5548fb00024af790f4422c86a8b9784909e76f9.tar.gz nng-e5548fb00024af790f4422c86a8b9784909e76f9.tar.bz2 nng-e5548fb00024af790f4422c86a8b9784909e76f9.zip | |
fix compile errors.
| -rw-r--r-- | .travis.yml | 3 | ||||
| -rw-r--r-- | src/core/snprintf.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d470d85e..b1bfe0f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,4 +30,5 @@ script: - cmake .. - cmake --build . -- -j4 - ctest --output-on-failure -C Debug -j4 - - etc/uncrustify_check.sh + - cd .. + - ./etc/uncrustify_check.sh diff --git a/src/core/snprintf.h b/src/core/snprintf.h index f25bc297..66028de3 100644 --- a/src/core/snprintf.h +++ b/src/core/snprintf.h @@ -11,6 +11,7 @@ #define CORE_SNPRINTF_H #include <stddef.h> +#include <stdarg.h> /* * We have our own snprintf, because some platforms lack this, while |
