about summary refs log tree commit diff
path: root/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--daemon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/daemon.h b/daemon.h
index 0d9e4de..3a141ba 100644
--- a/daemon.h
+++ b/daemon.h
@@ -14,6 +14,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <grp.h>
+#include <pwd.h>
 #include <stdint.h>
 
 typedef unsigned char byte;
@@ -33,3 +35,7 @@ static inline uint32_t setTest(const struct Set256 *set, byte x) {
 
 extern int restartInterval;
 extern struct Set256 stopExits;
+
+extern const char *serviceDir;
+extern struct passwd *serviceUser;
+extern struct group *serviceGroup;