cwidget: apply ftbfs patch to build aptitude i386

This commit is contained in:
Luis Guzmán 2023-07-28 04:34:56 +00:00
parent a73f67e768
commit 9ced2f3996
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,16 @@
Description: Fix FTBFS in cwidget as well as in aptitude due to missing #include <pthread.h>
Author: Paul Wise <pabs@debian.org>
Reviewed-By: Axel Beckert <abe@debian.org>
Bug-Debian: https://bugs.debian.org/1015925
Bug: https://bugs.debian.org/1015925
--- a/src/cwidget/generic/threads/threads.h
+++ b/src/cwidget/generic/threads/threads.h
@@ -26,6 +26,7 @@
#define THREADS_H
#include <errno.h>
+#include <pthread.h>
#include <cwidget/generic/util/exception.h>
namespace cwidget