Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13148

Re: What's wrong with linux/if.h and net/if.h?

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: What's wrong with linux/if.h and net/if.h?
Date 2012-01-06 21:54 +1300
Message-ID <9mnr6aFdr5U4@mid.individual.net> (permalink)
References <65d77142-fbf4-403f-beda-fa265ec5bee2@o9g2000yqa.googlegroups.com>

Show all headers | View raw


On 01/ 6/12 09:11 PM, fish wrote:
> In my project, I include pfring.h, but compile error: some functions
> in net/if.h and linux/if.h are redefinition. I found that the pfring.h
> include linux/if.h So, I test a program, my test code:
>
> #include<linux/if.h>
> #include<net/if.h>

You really should ask this on a Linux programming group.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What's wrong with linux/if.h and net/if.h? fish <wenkai1987@gmail.com> - 2012-01-06 00:11 -0800
  Re: What's wrong with linux/if.h and net/if.h? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-01-06 08:53 +0000
  Re: What's wrong with linux/if.h and net/if.h? Ian Collins <ian-news@hotmail.com> - 2012-01-06 21:54 +1300
  Re: What's wrong with linux/if.h and net/if.h? Goran <goran.pusic@gmail.com> - 2012-01-06 01:49 -0800

csiph-web