Rename C++ header files to .hpp
[lttng-tools.git] / src / common / compat / paths.hpp
diff --git a/src/common/compat/paths.hpp b/src/common/compat/paths.hpp
new file mode 100644 (file)
index 0000000..0203ae8
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2015 Michael Jeanson <mjeanson@efficios.com>
+ *
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ */
+
+#ifndef _COMPAT_PATHS_H
+#define _COMPAT_PATHS_H
+
+#ifdef HAVE_PATHS_H
+#include <paths.h>
+#else
+# define _PATH_DEVNULL "/dev/null"
+#endif
+
+#endif /* _COMPAT_PATHS_H */
This page took 0.023124 seconds and 4 git commands to generate.