Mesa (master): nir: Remove unistd.h include.

Emil Velikov evelikov at kemper.freedesktop.org
Thu Apr 14 15:33:16 UTC 2016


Module: Mesa
Branch: master
Commit: 8f96524f1390de0a54df029f29018379a8d9bd97
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f96524f1390de0a54df029f29018379a8d9bd97

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Wed Apr 13 18:19:49 2016 +0100

nir: Remove unistd.h include.

It doesn't seem needed, and is not available on MSVC.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

---

 src/compiler/nir/nir_to_ssa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/compiler/nir/nir_to_ssa.c b/src/compiler/nir/nir_to_ssa.c
index 23d709a..1a772ff 100644
--- a/src/compiler/nir/nir_to_ssa.c
+++ b/src/compiler/nir/nir_to_ssa.c
@@ -27,7 +27,6 @@
 
 #include "nir.h"
 #include <stdlib.h>
-#include <unistd.h>
 
 /*
  * Implements the classic to-SSA algorithm described by Cytron et. al. in




More information about the mesa-commit mailing list