summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-inode-private.c
diff options
context:
space:
mode:
authorfche <fche>2007-04-27 13:19:16 +0000
committerfche <fche>2007-04-27 13:19:16 +0000
commit522518f1c5c98325d6d746667ab0183af7922915 (patch)
treeee15bd1c005d2d5e580910a9d03358648cbbf3d5 /runtime/autoconf-inode-private.c
parentee6b2f59ef89bebc608f6514de3dc0de179d96d6 (diff)
downloadsystemtap-steved-522518f1c5c98325d6d746667ab0183af7922915.tar.gz
systemtap-steved-522518f1c5c98325d6d746667ab0183af7922915.tar.xz
systemtap-steved-522518f1c5c98325d6d746667ab0183af7922915.zip
2007-04-27 Frank Ch. Eigler <fche@elastic.org>
PR 4432. * buildrun.cxx (compile_pass): Tweak autoconf CFLAGS handling to avoid macro recursion but still get the needed -I directives. Add the inode-private autoconf test. 2007-04-27 Frank Ch. Eigler <fche@elastic.org> * autoconf-inode-private.c: New file from hunt.
Diffstat (limited to 'runtime/autoconf-inode-private.c')
-rw-r--r--runtime/autoconf-inode-private.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-inode-private.c b/runtime/autoconf-inode-private.c
new file mode 100644
index 00000000..7e7ee7f7
--- /dev/null
+++ b/runtime/autoconf-inode-private.c
@@ -0,0 +1,6 @@
+#include <linux/fs.h>
+
+/* check 2.6.18 inode diet patch which changed */
+/* u.generic_ip to i_private */
+
+struct inode i __attribute__ ((unused)) = {.i_private=(void *)0};