<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Try using:<div class="">&nbsp; exclude header "/path/to/header.h"</div><div class="">in the module definition.</div><div class=""><br class=""></div><div class="">&nbsp;- Daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 4, 2015, at 3:06 PM, Harlan Haskins &lt;<a href="mailto:harlan@harlanhaskins.com" class="">harlan@harlanhaskins.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">Is there a way to ignore a specific header file when declaring a C dependency? I’m working with a library that publicly declares `flash` as a struct, and that conflicts with `ncurses`’s definition of `flash`. His code makes no use of curses.h, and I won’t be using it either.</div><div class=""><br class=""></div><div class="">Is there any way I can specifically exclude `curses.h` from my modulemap file? It’s a very simple file.</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">module CFlipper [system] {</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; umbrella "/usr/local/include/flipper/"</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; link "flipper"</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; export *</font></div><div class=""><font face="Menlo" class="">}</font></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=AdkfTiApI80cNEyortTzHbERtY5det-2FDBvSxuhs4q2OVL0-2By-2FOdODTojyukwMgrPoomEIdej3GVZTPqTgmcqvKI7-2FZTO2i0MU8ohfw9duB8O2e4-2BPyHIm8k5hBpKJfWhrdiDWfXbbMxlq1eZlJBytjOGyA1FGw-2B-2B7RVqxyMluLRp8si2UuIhcnLCjEZaAWfdsA9N7r-2BzW4C6eKP91aEDQaR5kzbEZIDSt8oseGU6Au8-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
</div>
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>