summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-30 23:19:11 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-03 15:50:51 +0200
commita2ab00dd32d595d57680888481395738906a27ad (patch)
treec17f995ee04b0236f67ffeb6f3df0490a53b2491
parent94c5e5a8d06c8f6fd010d2030ae3fc793eea1bf4 (diff)
downloadsssd-a2ab00dd32d595d57680888481395738906a27ad.tar.gz
sssd-a2ab00dd32d595d57680888481395738906a27ad.tar.xz
sssd-a2ab00dd32d595d57680888481395738906a27ad.zip
Include sys/types.h for types id_t and uid_t
-rw-r--r--src/lib/idmap/sss_idmap.h1
-rw-r--r--src/responder/pac/pacsrv_utils.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/idmap/sss_idmap.h b/src/lib/idmap/sss_idmap.h
index 9710501bd..b99634617 100644
--- a/src/lib/idmap/sss_idmap.h
+++ b/src/lib/idmap/sss_idmap.h
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
+#include <sys/types.h>
#define DOM_SID_PREFIX "S-1-5-21-"
#define DOM_SID_PREFIX_LEN (sizeof(DOM_SID_PREFIX) - 1)
diff --git a/src/responder/pac/pacsrv_utils.c b/src/responder/pac/pacsrv_utils.c
index f70438b66..ae1d0bf45 100644
--- a/src/responder/pac/pacsrv_utils.c
+++ b/src/responder/pac/pacsrv_utils.c
@@ -18,6 +18,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/types.h>
#include <stdbool.h>
#include <util/data_blob.h>
#include <gen_ndr/security.h>