[Mesa-dev] [PATCH 17/18] util/strndup: move header inclusion as applicable

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 20 16:13:07 UTC 2017


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/util/strndup.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/strndup.h b/src/util/strndup.h
index 6d1868370fd..dcaa429dbe8 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
-- 
2.11.1



More information about the mesa-dev mailing list