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

Marek Olšák maraeo at gmail.com
Fri Apr 13 17:39:53 UTC 2018


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Fri, Apr 13, 2018 at 1:18 PM, Dylan Baker <dylan at pnwbakers.com> 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"
> --
> 2.17.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180413/5cfaf425/attachment-0001.html>


More information about the mesa-dev mailing list