diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2017-03-20 16:04:41 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-03-22 16:55:23 +0000 |
commit | e0129f314269b61ec80b3bf39d0a71ca80286e2e (patch) | |
tree | 6483ff3290434f65f488d0089f50da10c73bc57c /src/util | |
parent | e325fc12dbdea2a0fdf10b279be39cf15cf2ca8b (diff) |
util/strndup: move header inclusion as applicable
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/strndup.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/strndup.h b/src/util/strndup.h index 6d1868370f..dcaa429dbe 100644 --- a/src/util/strndup.h +++ b/src/util/strndup.h @@ -24,10 +24,9 @@ #ifndef STRNDUP_H #define STRNDUP_H -#include <stdlib.h> // size_t - #if defined(_WIN32) +#include <stdlib.h> // size_t #include <string.h> #ifdef __cplusplus |