Annotation of embedtools/inc/global.h, revision 1.2.2.1
1.1 misho 1: /*************************************************************************
2: * (C) 2009 AITNET - Sofia/Bulgaria - <office@aitbg.com>
3: * by Michael Pounov <misho@aitbg.com>
4: *
5: * $Author: misho $
1.2.2.1 ! misho 6: * $Id: global.h,v 1.2 2011/06/08 12:45:40 misho Exp $
1.1 misho 7: *
8: *************************************************************************/
9: #ifndef __GLOBAL_H
10: #define __GLOBAL_H
11:
12:
13: #include <stdio.h>
14: #include <stdlib.h>
1.2 misho 15: #include <stdarg.h>
1.1 misho 16: #include <string.h>
1.2 misho 17: #include <syslog.h>
1.1 misho 18: #include <unistd.h>
19: #include <fcntl.h>
20: #include <errno.h>
21: #include <signal.h>
22: #include <pwd.h>
1.2 misho 23: #include <time.h>
24: #include <netdb.h>
25: #include <poll.h>
26: #include <sched.h>
27: #include <assert.h>
1.1 misho 28: #include <sys/types.h>
29: #include <sys/param.h>
1.2.2.1 ! misho 30: #ifdef HAVE_LIMITS_H
1.2 misho 31: #include <sys/limits.h>
1.2.2.1 ! misho 32: #endif
1.1 misho 33: #include <sys/mount.h>
34: #include <sys/time.h>
35: #include <sys/wait.h>
36: #include <sys/event.h>
1.2 misho 37: #include <sys/stat.h>
38: #include <sys/socket.h>
39: #ifdef __FreeBSD__
40: #include <sys/linker.h>
41: #include <sys/module.h>
42: #endif
43: #include <sys/mman.h>
44: #include <sys/uio.h>
45: #include <net/if_arp.h>
46: #include <net/if.h>
47: #include <netinet/in.h>
48: #include <netinet/if_ether.h>
49: #include <arpa/inet.h>
50: #include <arpa/tftp.h>
51: #include <libgen.h>
52: #include <ifaddrs.h>
53: #include <sys/ioctl.h>
54: #include <sys/sysctl.h>
55: #include <net/if.h>
56: #include <net/if_dl.h>
57: #include <net/if_types.h>
58: #include <net/if_media.h>
59: #ifdef __FreeBSD__
60: #include <net/ethernet.h>
61: #endif
62: #include <net/route.h>
1.2.2.1 ! misho 63: #ifdef __NetBSD__
! 64: #include <net/if_vlanvar.h>
! 65: #else
1.2 misho 66: #include <net/if_vlan_var.h>
1.2.2.1 ! misho 67: #endif
! 68: #if defined(__FreeBSD__) || defined(__NetBSD__)
1.1 misho 69: #include <ufs/ufs/ufsmount.h>
1.2.2.1 ! misho 70: #endif
! 71: #if defined(__FreeBSD__)
1.2 misho 72: #include <net80211/ieee80211.h>
73: #include <net80211/ieee80211_freebsd.h>
74: #include <net80211/ieee80211_ioctl.h>
75: #endif
76: #include <openssl/md5.h>
77: #include <aitio.h>
1.1 misho 78: #include <aitcfg.h>
1.2 misho 79: #include <aitsync.h>
80: #include <aitcrc.h>
81:
82: #include "config.h"
1.1 misho 83:
84: #include "defs.h"
85:
86:
87: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>