diff --git a/src/libCom/osi/os/Linux/osiUnistd.h b/src/libCom/osi/os/Linux/osiUnistd.h new file mode 100644 index 000000000..efa92cb16 --- /dev/null +++ b/src/libCom/osi/os/Linux/osiUnistd.h @@ -0,0 +1,25 @@ +/* + * $Id$ + * + * + * L O S A L A M O S + * Los Alamos National Laboratory + * Los Alamos, New Mexico 87545 + * + * Copyright, 1986, The Regents of the University of California. + * + * + * Author Jeffrey O. Hill + * johill@lanl.gov + * 505 665 1831 + */ + +#include + +/* + * Some systems fail to provide prototypes of these functions. + * Others provide different prototypes. + * There seems to be no way to handle this automatically, so + * if you get compile errors, just make the appropriate changes here. + */ +int putenv (char *); diff --git a/src/libCom/osi/os/RTEMS/osiUnistd.h b/src/libCom/osi/os/RTEMS/osiUnistd.h new file mode 100644 index 000000000..96c244efd --- /dev/null +++ b/src/libCom/osi/os/RTEMS/osiUnistd.h @@ -0,0 +1,26 @@ +/* + * $Id$ + * + * + * L O S A L A M O S + * Los Alamos National Laboratory + * Los Alamos, New Mexico 87545 + * + * Copyright, 1986, The Regents of the University of California. + * + * + * Author Jeffrey O. Hill + * johill@lanl.gov + * 505 665 1831 + */ + +#include + +/* + * Some systems fail to provide prototypes of these functions. + * Others provide different prototypes. + * There seems to be no way to handle this automatically, so + * if you get compile errors, just make the appropriate changes here. + */ +int putenv (char *); +char *strdup (const char *);