From 5ee7b8cf9f11ba8cdaa2163f905479e10bf32843 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 28 Jan 2022 10:13:34 +1000
Subject: Fix build


diff --git a/thumbnail/thumbnail.cpp b/thumbnail/thumbnail.cpp
index c4db1d1..42b7ca0 100644
--- a/thumbnail/thumbnail.cpp
+++ b/thumbnail/thumbnail.cpp
@@ -25,7 +25,7 @@
     #include <machine/param.h>
 #endif
 #include <sys/types.h>
-#ifndef Q_OS_WIN
+#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
 #include <sys/ipc.h>
 #include <sys/shm.h>
 #include <unistd.h> // nice()
@@ -333,7 +333,7 @@ void ThumbnailProtocol::get(const QUrl &url)
             data(imgData);
         }
     } else {
-#ifndef Q_OS_WIN
+#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
         QByteArray imgData;
         QDataStream stream( &imgData, QIODevice::WriteOnly );
         //qDebug() << "IMAGE TO SHMID";
-- 
2.30.2

