diff --git a/dix/dixfonts.c b/dix/dixfonts.c index 9608e4b1f..3bad522ac 100644 --- a/dix/dixfonts.c +++ b/dix/dixfonts.c @@ -55,6 +55,9 @@ Equipment Corporation. #include #include #include + +#include "os/auth.h" + #include "scrnintstr.h" #include "resource.h" #include "dixstruct.h" diff --git a/include/os.h b/include/os.h index 0261d74b8..fffe8eb40 100644 --- a/include/os.h +++ b/include/os.h @@ -200,10 +200,6 @@ extern _X_EXPORT void FreeScreenSaverTimer(void); extern _X_EXPORT void GiveUp(int /*sig */ ); -extern _X_EXPORT int set_font_authorizations(char **authorizations, - int *authlen, - void *client); - /* * This function malloc(3)s buffer, terminating the server if there is not * enough memory. diff --git a/os/auth.h b/os/auth.h index f632490d6..576fba269 100644 --- a/os/auth.h +++ b/os/auth.h @@ -26,4 +26,8 @@ typedef int (*AuthRemCFunc) (AuthRemCArgs); #define AuthRstCArgs void typedef int (*AuthRstCFunc) (AuthRstCArgs); +int set_font_authorizations(char **authorizations, + int *authlen, + void *client); + #endif /* _XSERVER_OS_AUTH_H */ diff --git a/os/utils.c b/os/utils.c index 52f64d777..9ba84be28 100644 --- a/os/utils.c +++ b/os/utils.c @@ -107,6 +107,7 @@ __stdcall unsigned long GetTickCount(void); #endif #include "dix/dix_priv.h" +#include "os/auth.h" #include "os/cmdline.h" #include "dixstruct.h"