Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Linux 3.2.0-24-generic. I need to modify the source files of ath9k and mac80211. One of the files in mac80211 refers to a few linux header files such as linux/slab.h, linux/skbuff.h, linux/etherdevice.h and linux/if_arp.h. I have installed the latest headers but these are still missing. Where can I download these header files?

share|improve this question
up vote 1 down vote accepted

The headers are part of the same Linux source tree as your modules, in the include directory.

(When compiling in-tree modules, you need to have the complete source tree, from a tarball or Git repository. See, for example, this CentOS article and the Documentation/kbuild/ directory.)

├── Documentation
│   └── kbuild
├── drivers
│   └── net
│       └── wireless
│           └── ath
│               └── ath9k
├── include
│   └── linux
└── net
    └── mac80211
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.