diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-04-13 09:01:29 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-04-13 11:03:37 -0700 |
commit | 506671594a8e6c6ce9fa9bfab89db54eb2b45eb2 (patch) | |
tree | 140d70ba51a7a8ad48e44b55cd0ff0c6192e2189 | |
parent | 9a1363427ea3300d2ff9ef5ec0cc2ffbee22cffe (diff) |
mesa: Include unistd.h in program_lexer
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>
-rw-r--r-- | src/mesa/program/program_lexer.l | 1 |
1 files changed, 1 insertions, 0 deletions
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" |