Fix: add missing uaccess.h include (for ARM)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 17 Apr 2012 14:49:07 +0000 (10:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 17 Apr 2012 14:49:07 +0000 (10:49 -0400)
"What required uaccess.h ?"

   I was getting the following error:
   syscalls_pointers_override.h:6:1: error: implicit declaration of function ?strlen_user?

   I found that strlen_user was defined in asm/uaccess.h, which is
included by linux/uaccess.h.

Suggested-by: Ryan Kyser <Ryan.Kyser@jci.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng-events.h

index 9262f5de21f8181ef81f52ee0527b04f7eef7473..05e17b9bd8e3e9ba3f32037583b2727f63eee551 100644 (file)
@@ -18,7 +18,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-
+#include <linux/uaccess.h>
 #include <linux/debugfs.h>
 #include "lttng.h"
 #include "lttng-types.h"
This page took 0.025639 seconds and 4 git commands to generate.