]> diplodocus.org Git - nmh/blobdiff - sbr/oauth_prof.c
escape_addresses.c: Move interface to own file.
[nmh] / sbr / oauth_prof.c
index 0d4336d86be853b639a419630634dcbeecbcc4e9..5bedadcbeacf7f4cb36132342c549a84687dfc5f 100644 (file)
@@ -5,7 +5,8 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "context_find.h"
 
 #ifdef OAUTH_SUPPORT
 
@@ -18,8 +19,8 @@
 #include <strings.h>
 #include <unistd.h>
 
-#include <h/oauth.h>
-#include <h/utils.h>
+#include "h/oauth.h"
+#include "h/utils.h"
 #include "m_maildir.h"
 
 static const struct mh_oauth_service_info SERVICES[] = {
@@ -128,7 +129,7 @@ mh_oauth_get_service_info(const char *svc_name, mh_oauth_service_info *svcinfo,
 }
 
 /* Return value must be free(3)'d. */
-const char *
+char *
 mh_oauth_cred_fn(const char *svc)
 {
     char *key = mh_oauth_node_name_for_svc("credential-file", svc);