projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e325fc1
)
util/strndup: move header inclusion as applicable
author
Emil Velikov
<emil.l.velikov@gmail.com>
Mon, 20 Mar 2017 16:04:41 +0000
(16:04 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 16:55:23 +0000
(16:55 +0000)
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>
src/util/strndup.h
patch
|
blob
|
history
diff --git
a/src/util/strndup.h
b/src/util/strndup.h
index 6d1868370fd65906602ed3bcd63253a0fd196657..dcaa429dbe81b1b0fdb6d537972d93f41e73695e 100644
(file)
--- 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