O_PATH is Linux-and-FreeBSD-specific
Summary
O_PATH does not exist on NetBSD, so building Wireshark 4.4.0 fails.
Steps to reproduce
ui/qt/utils/qt_ui_utils.cpp:249:74: error: 'O_PATH' was not declared in this scope 249 | const int fd = ws_open(QFile::encodeName(file_path), O_CLOEXEC | O_PATH, 0000);
What is the current bug behaviour?
Building fails.
What is the expected correct behavior?
The build goes without errors.