distro UPDATE libpam is a new dependency
diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control
index 428aa1e..9e15c61 100644
--- a/distro/pkg/deb/control
+++ b/distro/pkg/deb/control
@@ -9,6 +9,7 @@
                libyang2-dev,
                libssl-dev,
                libssh-dev (>= 0.7.1),
+               libpam0g-dev,
                pkg-config
 Vcs-Browser: https://github.com/CESNET/libnetconf2/tree/master
 Vcs-Git: https://github.com/CESNET/libnetconf2.git
diff --git a/distro/pkg/rpm/libnetconf2.spec b/distro/pkg/rpm/libnetconf2.spec
index 6187253..4ad191e 100644
--- a/distro/pkg/rpm/libnetconf2.spec
+++ b/distro/pkg/rpm/libnetconf2.spec
@@ -10,6 +10,7 @@
 BuildRequires:  gcc
 BuildRequires:  libssh-devel
 BuildRequires:  openssl-devel
+BuildRequires:  pam-devel
 BuildRequires:  pkgconfig(libyang) >= 2
 
 %package devel