mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 14:20:30 +01:00
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>
This commit is contained in:
parent
e325fc12db
commit
e0129f3142
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue