aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cerberus.c5
-rw-r--r--src/cerberus.h13
2 files changed, 13 insertions, 5 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index 807db40..d61f541 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -19,11 +19,6 @@
#include "cerberus.h"
-#ifndef USE_TTY_GROUP
-#define tty_group 0
-#endif
-
-
/**
* Mane method
*
diff --git a/src/cerberus.h b/src/cerberus.h
index 3f10bee..a4ba19a 100644
--- a/src/cerberus.h
+++ b/src/cerberus.h
@@ -16,6 +16,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __CERBERUS_H__
+#define __CERBERUS_H__
+
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -26,6 +30,8 @@
#include <grp.h>
#endif
+#include "config.h"
+
#include "passphrase.h"
#include "quit.h"
#include "login.h"
@@ -33,3 +39,10 @@
#include "login.h"
+#ifndef USE_TTY_GROUP
+#define tty_group 0
+#endif
+
+
+#endif
+