File usbguard-fixes.patch of Package usbguard
Index: usbguard-usbguard-0.6.2/src/Library/IPCServerPrivate.cpp =================================================================== --- usbguard-usbguard-0.6.2.orig/src/Library/IPCServerPrivate.cpp +++ usbguard-usbguard-0.6.2/src/Library/IPCServerPrivate.cpp @@ -24,6 +24,7 @@ #include <sys/poll.h> #include <sys/eventfd.h> #include <sys/types.h> +#include <unistd.h> #include <pwd.h> #include <grp.h> Index: usbguard-usbguard-0.6.2/src/Library/IPCClientPrivate.cpp =================================================================== --- usbguard-usbguard-0.6.2.orig/src/Library/IPCClientPrivate.cpp +++ usbguard-usbguard-0.6.2/src/Library/IPCClientPrivate.cpp @@ -20,6 +20,7 @@ #include "IPCPrivate.hpp" #include "Logger.hpp" +#include <unistd.h> #include <sys/poll.h> #include <sys/eventfd.h>