aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 22:36:02 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 22:36:02 +0100
commita35e4d072285fdae2362d32ae8c4e50ce71b4437 (patch)
tree56c072fe4700272a73a2376245cf0a9ee82e84e9
parentm (diff)
downloadlibpassphrase-a35e4d072285fdae2362d32ae8c4e50ce71b4437.tar.gz
libpassphrase-a35e4d072285fdae2362d32ae8c4e50ce71b4437.tar.bz2
libpassphrase-a35e4d072285fdae2362d32ae8c4e50ce71b4437.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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
+