From a5f6da43f129c20d6d9e939b080e0d2d187f86f8 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 20 Oct 2010 17:30:10 -0700 Subject: [PATCH] errno: add missing common/errno.h --- src/common/errno.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/common/errno.h diff --git a/src/common/errno.h b/src/common/errno.h new file mode 100644 index 0000000000000..9dbd1438ce472 --- /dev/null +++ b/src/common/errno.h @@ -0,0 +1,9 @@ +#ifndef CEPH_ERRNO_H +#define CEPH_ERRNO_H + +#include + +/* Return a given error code as a string */ +std::string cpp_strerror(int err); + +#endif -- 2.39.5