aboutsummaryrefslogtreecommitdiffstats
path: root/src/permission.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/permission.c')
-rw-r--r--src/permission.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/permission.c b/src/permission.c
index 7df4e27fc..94aca70cf 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h"
#include "permission.h"
#include "conf.h"
@@ -111,7 +112,7 @@ void initPermissions(void)
permission_default = parsePermissions(param->value);
}
-int getPermissionFromPassword(char *password, unsigned *permission)
+int getPermissionFromPassword(char const* password, unsigned* permission)
{
bool found;
gpointer key, value;