[PATCH 2/6] tests/*version: add missing string.h header
Rob Clark
robdclark at gmail.com
Fri Aug 30 08:23:35 PDT 2013
On Thu, Aug 29, 2013 at 4:31 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Prodives memset() and strlen(), used in tests/setversion
> tests/getversion respectively.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Rob Clark <robdclark at gmail.com>
> ---
> tests/getversion.c | 1 +
> tests/setversion.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/tests/getversion.c b/tests/getversion.c
> index 711d376..53d1d35 100644
> --- a/tests/getversion.c
> +++ b/tests/getversion.c
> @@ -25,6 +25,7 @@
> *
> */
>
> +#include <string.h>
> #include "drmtest.h"
>
> /**
> diff --git a/tests/setversion.c b/tests/setversion.c
> index 3aaf7cc..5a5d01c 100644
> --- a/tests/setversion.c
> +++ b/tests/setversion.c
> @@ -26,6 +26,7 @@
> */
>
> #include <limits.h>
> +#include <string.h>
> #include "drmtest.h"
>
> /**
> --
> 1.8.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the dri-devel
mailing list