intuition.library: remove not needed include
[AROS.git] / compiler / posixc / posixc_startup.c
blobbfb3395e8afc5287e072a48154e009a652d11115
1 /*
2 Copyright © 2010-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Additional startup code for posixc.library that is executed during
6 init of a program that uses the library.
7 This file is thus not part of posixc.library but is used by the
8 startup section in posixc.conf
9 */
11 #include <proto/stdc.h>
12 #include <proto/stdcio.h>
13 #include <proto/posixc.h>
15 static int __posixc_startup(void)
17 struct PosixCBase *PosixCBase = __aros_getbase_PosixCBase();
19 PosixCBase->StdCBase = __aros_getbase_StdCBase();
20 PosixCBase->StdCIOBase = __aros_getbase_StdCIOBase();
22 return PosixCBase->StdCBase != NULL
23 && PosixCBase->StdCIOBase != NULL;
26 ADD2INIT(__posixc_startup, -50);