util: Remove redundant #if !defined(XF86_LIBC_H) in u_string.h
authorYonggang Luo <luoyonggang@gmail.com>
Wed, 28 Jun 2023 04:37:46 +0000 (12:37 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 30 Jun 2023 03:33:11 +0000 (03:33 +0000)
This is added in 3b5ee3d6de2c08faf69c701bf05d8f33ccd01502 but then dropped
in fe14868d96d4820dba73c3a507d191b8a73c6870
So this is not needed anymore

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23897>

src/util/u_string.h

index da2bdbd..1ad66e6 100644 (file)
 #ifndef U_STRING_H_
 #define U_STRING_H_
 
-#if !defined(XF86_LIBC_H)
-#include <stdio.h>
-#endif
 #include <stdlib.h>
 #include <stddef.h>
 #include <stdarg.h>
+#include <stdio.h>
 #include <string.h>
 #include <limits.h>