Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / common / include / proto / bsdsocket.h
blob5c829a7c091cbaf00a4ea29c0ea6b8e5412d347a
1 #ifndef PROTO_BSDSOCKET_H
2 #define PROTO_BSDSOCKET_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 */
8 #include <exec/types.h>
9 #include <sys/cdefs.h>
11 #include <clib/bsdsocket_protos.h>
13 #if !defined(SocketBase) && !defined(__NOLIBBASE__) && !defined(__BSDSOCKET_NOLIBBASE__)
14 #ifdef __BSDSOCKET_STDLIBBASE__
15 extern struct Library *SocketBase;
16 #else
17 extern struct Library *SocketBase;
18 #endif
19 #endif
21 #if !defined(NOLIBDEFINES) && !defined(BSDSOCKET_NOLIBDEFINES)
22 # include <defines/bsdsocket.h>
23 #endif
25 #endif /* PROTO_BSDSOCKET_H */