forked from Imagelibrary/rtems
* configure.in: Add libc/config.h * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h * libc/.cvsignore: Add config.h and stamp-h * libc/*.c: Add config.h support.
19 lines
227 B
C
19 lines
227 B
C
/*
|
|
* Some C Libraries reference this routine since they think getpid is
|
|
* a real system call.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#if HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <unistd.h>
|
|
|
|
pid_t __getpid(void)
|
|
{
|
|
return getpid();
|
|
}
|
|
|