diff mbox

[libdrm] intel: add the missing header <strings.h>

Message ID 1446176982-29961-1-git-send-email-cwhuang@linux.org.tw (mailing list archive)
State New, archived
Headers show

Commit Message

Chih-Wei Huang Oct. 30, 2015, 3:49 a.m. UTC
It defines the prototype of ffs that fixes the building error
on Android 6.0 64-bit image.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
---
 intel/intel_bufmgr_fake.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Chih-Wei Huang Dec. 1, 2015, 7:40 a.m. UTC | #1
Any concern to merge such a simple fix??

2015-10-30 11:49 GMT+08:00 Chih-Wei Huang <cwhuang@android-x86.org>:
> It defines the prototype of ffs that fixes the building error
> on Android 6.0 64-bit image.
>
> Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
> ---
>  intel/intel_bufmgr_fake.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/intel/intel_bufmgr_fake.c b/intel/intel_bufmgr_fake.c
> index 551e05d..7f4c7b9 100644
> --- a/intel/intel_bufmgr_fake.c
> +++ b/intel/intel_bufmgr_fake.c
> @@ -42,6 +42,7 @@
>  #include <string.h>
>  #include <assert.h>
>  #include <errno.h>
> +#include <strings.h>
>  #include <xf86drm.h>
>  #include <pthread.h>
>  #include "intel_bufmgr.h"
> --
> 1.9.1
>
Emil Velikov Dec. 1, 2015, 4:45 p.m. UTC | #2
On 1 December 2015 at 07:40, Chih-Wei Huang <cwhuang@android-x86.org> wrote:
> Any concern to merge such a simple fix??
>
Absolutely none - it just fell through the cracks. Just pushed it to
master, feel free to CC me on future patches.

Thanks
Emil
diff mbox

Patch

diff --git a/intel/intel_bufmgr_fake.c b/intel/intel_bufmgr_fake.c
index 551e05d..7f4c7b9 100644
--- a/intel/intel_bufmgr_fake.c
+++ b/intel/intel_bufmgr_fake.c
@@ -42,6 +42,7 @@ 
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
+#include <strings.h>
 #include <xf86drm.h>
 #include <pthread.h>
 #include "intel_bufmgr.h"