/* Distributed Checksum Clearinghouse
 *
 * supplement or replace missing /usr/include/paths.h
 *
 * --C-LICENSE--
 *
 * $Revision: 1.6 $
 */

#ifndef DCC_PATHS_H
#define DCC_PATHS_H

#ifdef HAVE_PATHS_H
#include <paths.h>
#endif

#ifdef DCC_WIN32
extern const char *_PATH_TMP;

#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "NUL"
#endif

#else /* !DCC_WIN32 */

#ifndef _PATH_TMP
#define _PATH_TMP "/tmp/"
#endif

#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "/dev/null"
#endif

#ifndef _PATH_VARRUN
#define _PATH_VARRUN "/var/run/"
#endif

#endif /* !DCC_WIN32 */

#endif	/* DCC_PATHS_H */
