summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-22 15:29:23 +0000
committerAlexander Kanavin <alex@linutronix.de>2021-11-22 13:09:02 +0100
commit81fb78edaad8d3bc9ba18e2c5203e60af99a5a95 (patch)
tree86a1c72e3bf8666a034590754b8dffc6367b2e8e /apt-pkg/contrib
parent312e7d7310e07757c59cd7ac0f20d0b416b43026 (diff)
apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h
This avoids type errors with musl C library.
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/srvrec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h
index e5d0f43a3..1e981d3d7 100644
--- a/apt-pkg/contrib/srvrec.h
+++ b/apt-pkg/contrib/srvrec.h
@@ -12,6 +12,7 @@
#include <string>
#include <vector>
#include <arpa/nameser.h>
+#include <sys/types.h>
#include <apt-pkg/macros.h>