title: Can I use Linux kernel linked list outside kernel code?
body: <p>I want to play with kernel linked list before I use it in some part of the kernel code. But if I just include <code>list.h</code>, it doesn't work due to dependencies. </p>
  
  <p>How can I write code using list in a <code>single.c</code> file e.g. test.c so that I can test my code just by compiling <code>test.c</code>? Looking forward to hearing from you soon.</p>
  
  <p>Also, how can I use nested linked list?</p>