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:53:42 +0200
commit07f8737113dfa6d5f8afe76bf7d3170e2c766e35 (patch)
tree2a8bade4f38a9d5381f5809f89afd0fa8c98bc04
parent0e9563e10a023092b6086a673a266323e9b1d603 (diff)
downloadsssd-07f8737113dfa6d5f8afe76bf7d3170e2c766e35.tar.gz
sssd-07f8737113dfa6d5f8afe76bf7d3170e2c766e35.tar.xz
sssd-07f8737113dfa6d5f8afe76bf7d3170e2c766e35.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 ced7074a9..1f8a3871f 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 3ac7b844c..605243286 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>