xfree86: mark xf86configptr exported for Nvidia legacy

Nvidia has a strange habit of messing with really internal stuff,
so need to add it to the executable's symbol table.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-06-05 16:22:58 +02:00
parent 7f49d4644f
commit a75a587370

View File

@ -40,7 +40,8 @@
/*
* global structure that holds the result of parsing the config file
*/
extern XF86ConfigPtr xf86configptr;
/* only exported for funny Nvidia legacy - no driver should ever use it */
extern _X_EXPORT XF86ConfigPtr xf86configptr;
typedef enum _ConfigStatus {
CONFIG_OK = 0,