From: Dylan Baker Date: Fri, 13 Apr 2018 16:01:29 +0000 (-0700) Subject: mesa: Include unistd.h in program_lexer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=506671594a8e6c6ce9fa9bfab89db54eb2b45eb2;p=mesa.git mesa: Include unistd.h in program_lexer Which was previously provided implicitly by mtypes.h CC: Marek Olšák CC: Mark Janes Fixes: 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 ("mesa: include mtypes.h less") Signed-off-by: Dylan Baker Reviewed-by: Marek Olšák Reviewed-by: Lionel Landwerlin --- 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 #include "main/glheader.h" #include "main/imports.h" #include "program/prog_instruction.h"