mesa: Include unistd.h in program_lexer
authorDylan Baker <dylan@pnwbakers.com>
Fri, 13 Apr 2018 16:01:29 +0000 (09:01 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 13 Apr 2018 18:03:37 +0000 (11:03 -0700)
Which was previously provided implicitly by mtypes.h

CC: Marek Olšák <marek.olsak@amd.com>
CC: Mark Janes <mark.a.janes@intel.com>
Fixes: 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5
       ("mesa: include mtypes.h less")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/program/program_lexer.l

index 2e168b83bdb8600f0b3f8c2100db4b8d6885054f..13eb90251486498f5ac09e8f9ca46403fe4c5601 100644 (file)
@@ -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"