Update system header includes in fvt_controller.cc
Some checks failed
Build Alpine Package / build-alpine (push) Failing after 1m53s
Build Debian Package / build-debian (push) Successful in 1m57s

- Remove deprecated <error.h> include
- Add <system_error> for std::system_error
- Add <cerrno> for errno handling
- Streamline and modernize system header includes
This commit is contained in:
2025-02-01 06:59:33 +00:00
parent 31077367bb
commit 06a0b682c0

View File

@@ -15,12 +15,13 @@
#include "config.h"
#include "fvt_controller.h"
#include <error.h>
#include <fcntl.h>
#include <math.h>
#include <stdint.h>
#include <atomic>
#include <system_error> // for std::system_error
#include <cerrno> // for errno
#undef NDEBUG
#include <cassert>
#include <cstring>