/[pengfork]/pengfork/src/tun/freebsd/tun.c
ViewVC logotype

Diff of /pengfork/src/tun/freebsd/tun.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by chupa, Thu Dec 5 00:12:16 2002 UTC revision 1.6 by chupa, Fri Dec 6 23:05:30 2002 UTC
# Line 20  Line 20 
20   *                   *                
21   */   */
22    
23  #include "config.h"  #if HAVE_CONFIG_H
24    # include "config.h"
25    #endif
26    
27  #include <unistd.h>  #if STDC_HEADERS
28  #include <fcntl.h>  # include <stdlib.h>
29  #include <stdlib.h>  # include <stddef.h>
30  #include <stdio.h>  #else
31  #include <string.h>  # if HAVE_STDLIB_H
32  #include <syslog.h>  #  include <stdlib.h>
33    # endif
34    #endif
35    #if HAVE_STRING_H
36    # if !STDC_HEADERS && HAVE_MEMORY_H
37    #  include <memory.h>
38    # endif
39    # include <string.h>
40    #endif
41    #if HAVE_UNISTD_H
42    # include <unistd.h>
43    #endif
44    #if HAVE_FCNTL_H
45    # include <fcntl.h>
46    #endif
47    #if HAVE_STDIO_H
48    # include <stdio.h>
49    #endif
50    #if HAVE_SYSLOG_H
51    # include <syslog.h>
52    #endif
53    
54  #include <sys/ioctl.h>  #if HAVE_SYS_IOTCL_H
55  #include <net/if_tun.h>  # include <sys/ioctl.h>
56    #endif
57    #if HAVE_NET_IF_TUN_H
58    # include <net/if_tun.h>
59    #endif
60    
61  #include <netinet/in.h>  #if HAVE_NETINET_IN_H
62  #include <netinet/in_systm.h>  # include <netinet/in.h>
63  #include <netinet/ip.h>  #endif
64    #if HAVE_NETINET_IN_SYSTM_H
65    # include <netinet/in_systm.h>
66    #endif
67    #if HAVE_NETINET_IP_H
68    # include <netinet/ip.h>
69    #endif
70    
71  #include "gettext.h"  #include "gettext.h"
72  #include "log.h"  #include "log.h"

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26