xrdp-droppriv erroneous includes

xrdp-droppriv.c is erroneously including os_calls.c rather than
os_calls.h

This leads to a link failure on Ubuntu 20.04:-

/usr/bin/ld: xrdp-droppriv.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

The error does not happen with later glibc versions, as libdl is
included in libc for these versions.

(cherry picked from commit b914d3e997ee70544db5fd2e28509bbcae32ddc6)
This commit is contained in:
matt335672
2024-12-23 11:05:39 +00:00
parent 834e4880ef
commit ae6b1ed8a8
+1 -1
View File
@@ -23,7 +23,7 @@
#include "config_ac.h"
#endif
#include "os_calls.c"
#include "os_calls.h"
#include "log.h"
int main(int argc, char *argv[])