<div>Hi,</div><div><br></div><div>  I&#39;m trying to compile some code using Cabal.  One of the files has a CPP directive</div><div><br></div><div>#include &quot;undefined.h&quot;</div><div><br></div><div>The file undefined.h is in the same directory as the file with the directive.</div>
<div>If I use the full path name, cabal can compile it.  However, if I use the relative path, </div><div>it complains about not being able to find the file.   I tried adding it to </div><div>extra-source-files, but that didn&#39;t help.  I see that Hackage packages like Agda use</div>
<div>this trick, so I know it&#39;s possible.  How can I get these paths worked out correctly?</div><div>There isn&#39;t much comment in the Cabal docs.</div><div><br></div><div>Thanks,</div><div><br></div><div>Sean</div>