delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/17/17:26:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F905E81.7895EFE2@dessent.net>
Date: Fri, 17 Oct 2003 14:26:25 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: linux/*.h include files
References: <6 DOT 0 DOT 0 DOT 22 DOT 2 DOT 20031017114633 DOT 02755bf0 AT localhost>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h9HLQkmD009535

Flavio Rabello de Souza wrote:
> 
> I´m trying to compile a C program under cygwin but it uses some linux
> include files. (#include <linux/in.h> and #include <linux/if_ether.h>)

I did something similar when compiling tcpflow, but I just used a couple
of missing header files from FreeBSD.  See
<http://www.cygwin.com/ml/cygwin/2003-07/msg01772.html> for details.  In
the case of Cygwin (and probably other platforms), those headers reside
in 'netinet' not 'linux', so you'll probably have to modify the sources.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019