X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 19 May 2011 08:54:19 +0200 Message-ID: Subject: /usr/include path issue From: Gabor Alsecz To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi All, I am using the latest cygwin installation and I have an issue with my /usr/include directory under cygwin bash. my .c file snippet looks like this: #include #include #include #include #include And when running gcc from bash with the followin command: gcc getip.c i receive the following error: fatal error: netdb.h: No such file or directory So how can i add the fine include directory path to the compiler or cygwin bash to find the .h includes? Same issue (include .h file(s) not found) when i try to compile/configure Kannel under cygwin Regards, Gabor -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple