void-packages/srcpkgs/qmidiarp/patches/add-missing-includes.patch

22 lines
421 B
Diff

--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,6 +69,8 @@
#include "mainwindow.h"
#include "main.h"
+#include <sys/types.h>
+#include <unistd.h>
static struct option options[] = {
{"version", 0, 0, 'v'},
--- a/src/midiworker.h
+++ b/src/midiworker.h
@@ -28,6 +28,7 @@
#include "main.h"
#include <cstdlib>
#include <cstdio>
+#include <sys/types.h>
/*! @brief MIDI worker base class for QMidiArp modules.