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 13:59:04 +0200
commit546f1e38fa7ec1d86dd44117dda45f456fb00d39 (patch)
tree4f2fbdeff4aa58bb64714a3473aaec033d47dae5
parent01d048293cba60cf45ca2791585a7d6dc3bf57b2 (diff)
downloadsssd-546f1e38fa7ec1d86dd44117dda45f456fb00d39.tar.gz
sssd-546f1e38fa7ec1d86dd44117dda45f456fb00d39.tar.xz
sssd-546f1e38fa7ec1d86dd44117dda45f456fb00d39.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 d326469ec..91e5d0bf3 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 a52282c79..05b53edee 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>