]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/include: move ceph_to_hostos_errno() to separate header file
authorRishabh Dave <ridave@redhat.com>
Wed, 20 Aug 2025 07:41:04 +0000 (13:11 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 3 Oct 2025 14:24:47 +0000 (19:54 +0530)
commit2ca88381cc5d9a2125900300b8d8e2e505fdb228
tree881ab917b28daaf9625546573e9d2639328f7d0f
parentc9b2336367306183ce472d1d4eb28baf43aa8193
src/include: move ceph_to_hostos_errno() to separate header file

Including src/include/types.h in src/pybind/cephfs/types.pxd leads to
compilation error: "fatal error: acconfig.h: No such file or directory".
types.h as well as int_types.h include acconfig.h header file.

Move the code to be included in types.pxd to a separate file where
acconfig.h won't be included, thus preventing this error.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/include/platform_errno.h [new file with mode: 0644]
src/include/types.h