X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpaths.hpp;fp=src%2Fcommon%2Fcompat%2Fpaths.hpp;h=7d50e59ededabea359c7937c8c5ab0f2405d0118;hb=7532fa3bd22e403958f46cd35c824f490d93292d;hp=0000000000000000000000000000000000000000;hpb=985aea182b618c85c51651f224abedfe367c75ee;p=lttng-tools.git diff --git a/src/common/compat/paths.hpp b/src/common/compat/paths.hpp new file mode 100644 index 000000000..7d50e59ed --- /dev/null +++ b/src/common/compat/paths.hpp @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2015 Michael Jeanson + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + +#ifndef _COMPAT_PATHS_H +#define _COMPAT_PATHS_H + +#ifdef HAVE_PATHS_H +#include +#else +# define _PATH_DEVNULL "/dev/null" +#endif + +#endif /* _COMPAT_PATHS_H */