| From 6b8547161b902b01b639d05a4cdf849d7694556f Mon Sep 17 00:00:00 2001 |
| From: Alexander Kanavin <alex.kanavin@gmail.com> |
| Date: Fri, 22 May 2020 15:29:23 +0000 |
| Subject: [PATCH] apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h |
| |
| This avoids type errors with musl C library. |
| |
| Upstream-Status: Submitted [https://salsa.debian.org/apt-team/apt/-/merge_requests/200] |
| Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| --- |
| apt-pkg/contrib/srvrec.h | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h |
| index e5d0f43..2010184 100644 |
| --- a/apt-pkg/contrib/srvrec.h |
| +++ b/apt-pkg/contrib/srvrec.h |
| @@ -9,6 +9,7 @@ |
| #ifndef SRVREC_H |
| #define SRVREC_H |
| |
| +#include <sys/types.h> |
| #include <string> |
| #include <vector> |
| #include <arpa/nameser.h> |
| -- |
| 2.20.1 |
| |