Added missing definitions required for luasocket and wxlua.
Merge pull request #1 from pkulchenko/master

Added missing definitions required for luasocket and wxlua.