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

Author: Dylan Baker <[email protected]>
Date:   Fri Apr 13 09:01:29 2018 -0700

mesa: Include unistd.h in program_lexer

Which was previously provided implicitly by mtypes.h

CC: Marek Olšák <[email protected]>
CC: Mark Janes <[email protected]>
Fixes: 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5
       ("mesa: include mtypes.h less")
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>

---

 src/mesa/program/program_lexer.l | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/program/program_lexer.l b/src/mesa/program/program_lexer.l
index 2e168b83bd..13eb902514 100644
--- a/src/mesa/program/program_lexer.l
+++ b/src/mesa/program/program_lexer.l
@@ -21,6 +21,7 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#include <unistd.h>
 #include "main/glheader.h"
 #include "main/imports.h"
 #include "program/prog_instruction.h"

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to