summary refs log tree commit diff
path: root/src/uidgid.h
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2006-03-20 18:58:33 +0000
committerGerrit Pape <pape@smarden.org>2006-03-20 18:58:33 +0000
commitb548a1f50548fc9a3d80019e3a9e4ed5492b3413 (patch)
tree8f673b14bc7e4a41ff1cc676069fbe0cd7286706 /src/uidgid.h
parente7decdc4e3d664041838c4cb5133a4de31abb99b (diff)
downloadrunit-b548a1f50548fc9a3d80019e3a9e4ed5492b3413.tar.gz
runit-b548a1f50548fc9a3d80019e3a9e4ed5492b3413.tar.xz
runit-b548a1f50548fc9a3d80019e3a9e4ed5492b3413.zip
* doc/faq.html: typos; add usercontrol, userservices; minor.
  * src/uidgid.h: use uid_t, git_t (fix setting of multiple groups with
    dietlibc, thx Tino Keitel)
1.4.1.
Diffstat (limited to 'src/uidgid.h')
-rw-r--r--src/uidgid.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uidgid.h b/src/uidgid.h
index a612edd..f8599a1 100644
--- a/src/uidgid.h
+++ b/src/uidgid.h
@@ -1,9 +1,11 @@
 #ifndef UIDGID_H
 #define UIDGID_H
 
+#include <sys/types.h>
+
 struct uidgid {
-  int uid;
-  int gid[61];
+  uid_t uid;
+  gid_t gid[61];
   int gids;
 };