1
0
Fork 0

Fixing FTBFS about undeclared PTHREAD_MUTEX_INITIALIZER by including missing pthread header.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-04 07:46:19 +01:00
parent f441dfdb18
commit 32c53547e5
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,15 @@
Author: Daniel Baumann <daniel@debian.org>
Description: Fixing FTBFS about undeclared PTHREAD_MUTEX_INITIALIZER by including missing pthread header.
diff -Naurp tarlz.orig/extended.cc tarlz/extended.cc
--- tarlz.orig/extended.cc
+++ tarlz/extended.cc
@@ -21,6 +21,8 @@
#include <cerrno>
#include <cstdio>
+#include <pthread.h>
+
#include "tarlz.h"
#include "common_mutex.h"

View file

@ -1 +1,2 @@
debian/0001-build.patch
debian/0002-pthread.patch