lkml.org 
[lkml]   [2012]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] perf: missing export.h file
From
Date
    CC util/rbtree.o
../../lib/rbtree.c:24:26: error: linux/export.h: No such file or
directory
cc1: warnings being treated as errors

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
I must be missing something, why nobody hits this error ???

diff --git a/tools/perf/util/include/linux/export.h b/tools/perf/util/include/linux/export.h
new file mode 100644
index 0000000..841636d
--- /dev/null
+++ b/tools/perf/util/include/linux/export.h
@@ -0,0 +1,6 @@
+#ifndef PERF_LINUX_EXPORT_H
+#define PERF_LINUX_EXPORT_H
+
+#define EXPORT_SYMBOL(name)
+
+#endif



\
 
 \ /
  Last update: 2012-03-28 15:01    [W:1.345 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site