error: structure has no member named `d_type'
error: `DT_DIR' undeclared (first use in this function)
# error: 'struct msghdr' has no member named 'msg_control'
# error: 'TIOCGWINSZ' was not declared in this scope
How to run an old binary file
If a process uses localtime or similar time functions which use "struct tm", you sould set an environment variable OLDER_COMPAT wich some value (the value does not matter).
Example of Communigate Pro:
server# OLDER_COMPAT=yes /opt/CommuniGate/CGServer --Base /var/CommuniGate --Daemon
We have two extended fields in this structure. The variable forces ignoring them.