summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-04-13 09:01:29 -0700
committerDylan Baker <[email protected]>2018-04-13 11:03:37 -0700
commit506671594a8e6c6ce9fa9bfab89db54eb2b45eb2 (patch)
tree140d70ba51a7a8ad48e44b55cd0ff0c6192e2189 /src/mesa/program
parent9a1363427ea3300d2ff9ef5ec0cc2ffbee22cffe (diff)
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]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/program_lexer.l1
1 files changed, 1 insertions, 0 deletions
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"