aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index a3b136ab6..32dc7e172 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -164,6 +164,9 @@ void set_uint32(char *cp, uint32_t v);
int set_max_file_descriptors(unsigned int required_min);
int switch_id(char *user, char *group);
+#ifdef HAVE_PWD_H
+char *get_user_homedir(const char *username);
+#endif
int spawn_func(int (*func)(void *), void *data);
void spawn_exit(void);