Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / smbfs / source_code / system_headers.h
blobc3c8615ee5c6931bfe9f9ffbd6651be09259c2eb
1 /*
2 * $Id$
4 * :ts=4
6 * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API
8 * Copyright (C) 2000-2016 by Olaf `Olsen' Barthel <obarthel -at- gmx -dot- net>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef _SYSTEM_HEADERS_H
26 #define _SYSTEM_HEADERS_H 1
28 /*****************************************************************************/
30 #define __USE_INLINE__
31 #define __NOGLOBALIFACE__
32 #define __NOLIBBASE__
34 /****************************************************************************/
36 #if defined(__SASC)
37 #define USE_BUILTIN_MATH
38 #endif /* __SASC */
40 /*****************************************************************************/
42 #define NULL ((APTR)0L)
43 #include <exec/types.h>
45 /*****************************************************************************/
47 #define byte IGNORE_THIS
49 /*****************************************************************************/
51 #include <workbench/workbench.h>
52 #include <workbench/startup.h>
54 #include <dos/dosextens.h>
55 #include <dos/dosasl.h>
56 #include <dos/dostags.h>
57 #include <dos/filehandler.h>
58 #include <dos/rdargs.h>
59 #include <dos/exall.h>
61 #if defined(__amigaos4__)
62 #include <dos/obsolete.h>
63 #endif /* __amigaos4__ */
65 #include <exec/memory.h>
67 #include <devices/timer.h>
68 #include <devices/inputevent.h>
69 #include <devices/input.h>
71 #include <libraries/locale.h>
73 #if defined(__AROS__)
74 #include <bsdsocket/socketbasetags.h>
75 #include <aros/debug.h>
76 #undef D
77 #undef DEBUG
78 #endif
80 #include <utility/date.h>
81 #include <utility/tagitem.h>
83 /*****************************************************************************/
85 #include <clib/alib_protos.h>
87 /*****************************************************************************/
89 #include <proto/exec.h>
90 #include <proto/dos.h>
91 #include <proto/intuition.h>
92 #include <proto/bsdsocket.h>
93 #include <proto/utility.h>
94 #include <proto/locale.h>
95 #include <proto/timer.h>
96 #include <proto/icon.h>
98 /*****************************************************************************/
100 #include <time.h>
101 #include <stdio.h>
102 #include <errno.h>
103 #include <fcntl.h>
104 #include <signal.h>
105 #include <string.h>
106 #include <stdarg.h>
107 #include <stdlib.h>
108 #include <stddef.h>
109 #include <ctype.h>
111 #include <sys/types.h>
112 #include <sys/socket.h>
113 /*#include <sys/param.h>*/
114 /*#include <sys/ioctl.h>*/
115 #include <sys/stat.h>
117 #include <netinet/ip.h>
118 #include <netinet/tcp.h>
120 #include <net/if.h>
121 #include <unistd.h>
122 #include <netdb.h>
124 /*****************************************************************************/
126 #undef byte
128 /*****************************************************************************/
130 #endif /* _SYSTEM_HEADERS_H */