On Wed, 2007-06-13 at 14:33 +0200, David Lamparter wrote: > That's not possible because nl80211_{iftype,phymode} are userspace API. > If they were defined in cfg80211.h, nl80211.h would need to at least mirror > them. And since nl80211.h can't include cfg80211.h (since the former is a > "public" header supposed to go to /usr/include with some linux-headers-* > package), this way around is the simplest and cleanest solution. > > Anyway, I don't really think including a header to be a "dependency". You > can disable the nl80211 implementation and still use the API enum just > fine. (Note that nl80211.h contains enums, more enums and ONLY enums :) Good explanation, I was just going to write the same :) Michael, pulling in nl80211.h is the only sensible thing to do unless you want to duplicate a bunch of things and translate them in nl80211.c johannes
Attachment:
signature.asc
Description: This is a digitally signed message part