<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/23/2014 01:34 AM,
<a class="moz-txt-link-abbreviated" href="mailto:linuxchyu@sina.com">linuxchyu@sina.com</a> wrote:<br>
</div>
<blockquote cite="mid:201403231634482850556@sina.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style>
<div>Hello everyone ,when i was compiling criu-1.2, some errors
happened:</div>
<div><span></span><span style="font-family: "" microsoft=""
yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,=""
0,="" 0);="" background-color:="" rgba(0,="" font-weight:=""
normal;="" font-style:="" normal;text-decoration:="" none;'=""><b><font
color="#ff0000">fsnotify.c:22:28: fatal error:
linux/fanotify.h: No such file or directory
</font></b><br>
I want to know where i can find the </span><b
style="font-size: 10.5pt; line-height: 1.5; background-color:
window;"><font color="#ff0000">linux/fanotify.h </font>,</b><span
style="font-size: 10.5pt; line-height: 1.5; background-color:
window;">and i just cannot find it in /usr/include ,
/usr/local/include and kernel headers.</span></div>
<div><span style="font-size: 10.5pt; line-height: 1.5;
background-color: window;">Thanks very much !</span></div>
<br>
</blockquote>
Most probably you need to install kernel-headers package. If it's
Fedora or Suse, try<br>
<br>
yum install kernel-headers<br>
</body>
</html>