[Mesa-dev] [PATCH] mesa: Include unistd.h in program_lexer

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Apr 13 17:59:27 UTC 2018


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 13/04/18 10:18, Dylan Baker wrote:
> Which was previously provided implicitly by mtypes.h
>
> CC: Marek Olšák <marek.olsak at amd.com>
> CC: Mark Janes <mark.a.janes at intel.com>
> Fixes: 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5
>         ("mesa: include mtypes.h less")
> Signed-off-by: Dylan Baker <dylan.c.baker at 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"




More information about the mesa-dev mailing list