--- nono/lib/mappedfile.h 2026/04/29 17:04:34 1.1.1.1 +++ nono/lib/mappedfile.h 2026/04/29 17:04:49 1.1.1.2 @@ -9,6 +9,7 @@ #pragma once #include "header.h" +#include "autofd.h" class MappedFile { @@ -52,7 +53,7 @@ class MappedFile // ただのパス名だけでなくその場に応じたいい感じの表示にしたい。 std::string dispname {}; - int fd {}; + autofd fd {}; uint8 *mem {}; off_t memlen {}; };