projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct inclusion of standard if_tun.h header file.
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
309079b
..
4c5956e
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.c,v 1.35.4.11
8 2001/07/04 08:41:36
guus Exp $
+ $Id: net.c,v 1.35.4.11
9 2001/07/15 14:21:12
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-54,7
+54,15
@@
#endif
#ifdef HAVE_TUNTAP
#endif
#ifdef HAVE_TUNTAP
-#include LINUX_IF_TUN_H
+ #ifdef HAVE_LINUX
+ #ifdef LINUX_IF_TUN_H
+ #include LINUX_IF_TUN_H
+ #else
+ #include <linux/if_tun.h>
+ #endif
+ #else
+ #include <net/if_tun.h>
+ #endif
#endif
#include <utils.h>
#endif
#include <utils.h>