[Piglit] [PATCH 02/12] shader_runner: remove no longer needed includes

Emil Velikov emil.l.velikov at gmail.com
Sat Nov 22 14:40:24 PST 2014


libgen.h was added for the dirname symbol, with stdlib.h for it's
Windows counterpart - _splitpath.

Both of which no longer around as of

commit 679c35b41de5418a67063ac98a92bfc23547b14f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jul 3 22:40:49 2014 -0700

    Delete [<stage> shader file] support from shader_runner.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 tests/shaders/shader_runner.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 628ef44..107e2b5 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -25,12 +25,6 @@
 #include <string.h>
 #include <ctype.h>
 
-#if defined(_WIN32)
-#include <stdlib.h>
-#else
-#include <libgen.h>
-#endif
-
 #include "piglit-util-gl.h"
 #include "piglit-vbo.h"
 
-- 
2.1.3



More information about the Piglit mailing list