diff mbox

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

Message ID 1423251722-26176-1-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov Feb. 6, 2015, 7:42 p.m. UTC
Required by strcmp, otherwise we'll error out of the build with the
following commit.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 tests/util/format.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Emil Velikov Feb. 6, 2015, 7:54 p.m. UTC | #1
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@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>
>  
>
diff mbox

Patch

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>