summaryrefslogtreecommitdiff
path: root/debian/patches/fix-missing-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-missing-include.patch')
-rw-r--r--debian/patches/fix-missing-include.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/fix-missing-include.patch b/debian/patches/fix-missing-include.patch
new file mode 100644
index 0000000..7aaf861
--- /dev/null
+++ b/debian/patches/fix-missing-include.patch
@@ -0,0 +1,20 @@
+Description: fix missing include.
+Author: Étienne Mollier <emollier@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066534
+Forwarded: https://github.com/thegenemyers/DALIGNER/pull/96
+Last-Update: 2024-03-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- daligner.orig/ONElib.c
++++ daligner/ONElib.c
+@@ -16,8 +16,10 @@
+ *
+ ****************************************************************************************/
+
++#define _GNU_SOURCE
+ #include <sys/errno.h>
+ #include <sys/types.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/resource.h>