Fix FreeBSD build.
[haiku.git] / headers / compatibility / bsd / stdlib.h
blobd65871f812323ec321582ed6f4567ccad8ab49ee
1 /*
2 * Copyright 2006-2010 Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _BSD_STDLIB_H_
6 #define _BSD_STDLIB_H_
9 #include_next <stdlib.h>
12 #ifdef _BSD_SOURCE
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 int daemon(int noChangeDir, int noClose);
20 const char *getprogname(void);
21 void setprogname(const char *programName);
23 #ifdef __cplusplus
25 #endif
28 #endif
31 #endif /* _BSD_STDLIB_H_ */