Skip to content

Commit

Permalink
xrdp-droppriv erroneous includes
Browse files Browse the repository at this point in the history
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 b914d3e)
  • Loading branch information
matt335672 committed Dec 23, 2024
1 parent 834e488 commit ae6b1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/chkpriv/xrdp-droppriv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[])
Expand Down

0 comments on commit ae6b1ed

Please sign in to comment.