X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpaths.hpp;fp=src%2Fcommon%2Fcompat%2Fpaths.hpp;h=0203ae80db0074d3893f97c0d15558fcf1910e21;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=0000000000000000000000000000000000000000;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;p=lttng-tools.git diff --git a/src/common/compat/paths.hpp b/src/common/compat/paths.hpp new file mode 100644 index 000000000..0203ae80d --- /dev/null +++ b/src/common/compat/paths.hpp @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2015 Michael Jeanson + * + * SPDX-License-Identifier: LGPL-2.1-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 */