[PATCH 1/2] util: add missing include <string.h>

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 6 11:54:07 PST 2015


Grr... git send-email did not keep the fix of the patches :\

This one should be "PATCH 0.1/6" while "util: silence pointer arithmetic
warnings" - "PATCH 1.1/6".

Cheers,
Emil

On 06/02/15 19:42, Emil Velikov wrote:
> Required by strcmp, otherwise we'll error out of the build with the
> following commit.
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  tests/util/format.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/util/format.c b/tests/util/format.c
> index c365ceb..52b3f97 100644
> --- a/tests/util/format.c
> +++ b/tests/util/format.c
> @@ -29,6 +29,7 @@
>  
>  #include <stdint.h>
>  #include <stdlib.h>
> +#include <string.h>
>  
>  #include <drm_fourcc.h>
>  
> 



More information about the dri-devel mailing list