[PATCH libdrm] intel: add the missing header <strings.h>
Chih-Wei Huang
cwhuang at android-x86.org
Thu Oct 29 20:49:42 PDT 2015
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 at 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
More information about the dri-devel
mailing list