]> git.sesse.net Git - betaftpd/blobdiff - nonroot.h
All header files should now be self-contained (ie. you shouldn't need to do any syste...
[betaftpd] / nonroot.h
index fd2308468eb0f81048c2b542e18f8687f17a08ef..c8d697c123693536f134aa0a8c7828437d379a04 100644 (file)
--- a/nonroot.h
+++ b/nonroot.h
@@ -15,6 +15,9 @@
     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
+#ifndef _NONROOT_H
+#define _NONROOT_H 1
+
 int nr_userinfo(const char * const username, int * const uid,
                 char * const homedir, char * const rootdir,
                 const char * const password);
@@ -28,3 +31,4 @@ int member_of_group(const uid_t uid, const gid_t gid);
 char *nr_get_uname(const uid_t uid);
 char *nr_get_gname(const gid_t gid);
 
+#endif