chiark / gitweb /
cdb: Replace ad-hocery with use of offsetof/typeof. Closes:#812718.
[chiark-tcl.git] / tuntap / chiark_tcl_tuntap.h
index b5181f66558c300218a15bc12d220276372222ef..6698c9a7045048280e3caaa501786f49efd9770c 100644 (file)
@@ -13,9 +13,7 @@
  * General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301, USA.
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef TUNTAPTCL_H
@@ -24,7 +22,8 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
-#include <linux/if.h>
+
+#include <net/if.h>
 #include <linux/if_tun.h>
 
 #include "hbytes.h"