include: move xsha1.h to os/

This header is never exported and belongs to OS layer, thus no need to have it
in include/ directory, where all the public ones are - better off under os/.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1350>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-01 16:53:49 +01:00 committed by Marge Bot
parent ebabca56a4
commit 40c5d39c55
4 changed files with 3 additions and 2 deletions

View File

@ -643,6 +643,7 @@ common_dep = [
] ]
inc = include_directories( inc = include_directories(
'.',
'Xext', 'Xext',
'Xi', 'Xi',
'composite', 'composite',

View File

@ -28,7 +28,7 @@
#endif #endif
#include "os.h" #include "os.h"
#include "xsha1.h" #include "os/xsha1.h"
#if defined(HAVE_SHA1_IN_LIBMD) /* Use libmd for SHA1 */ \ #if defined(HAVE_SHA1_IN_LIBMD) /* Use libmd for SHA1 */ \
|| defined(HAVE_SHA1_IN_LIBC) /* Use libc for SHA1 */ || defined(HAVE_SHA1_IN_LIBC) /* Use libc for SHA1 */

View File

@ -26,7 +26,7 @@
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#include "xsha1.h" #include "os/xsha1.h"
#include "misc.h" #include "misc.h"
#include "scrnintstr.h" #include "scrnintstr.h"