smb.c: prevents problem with glibc defining open as a macro