Which was previously provided implicitly by mtypes.h

CC: Marek Olšák <marek.ol...@amd.com>
CC: Mark Janes <mark.a.ja...@intel.com>
Fixes: 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5
       ("mesa: include mtypes.h less")
Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com>
---
 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 2e168b83bdb..13eb9025148 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"
-- 
2.17.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to