Undefined symbol make_unix_socket
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Wed, 1 Jul 2015 19:01:44 +0000 (19:01 +0000)
committerGurucharan Shetty <gshetty@nicira.com>
Sat, 11 Jul 2015 03:33:09 +0000 (20:33 -0700)
commita35f3d61c774c9afde4c0483ea22e115b70c2808
treeec59a6630f49b15d6e2dd64e53c7bf08dc211bc4
parent943f394ea332837d8e5285986c5182e9746c6c62
Undefined symbol make_unix_socket

syslog_direct_create defined in (lib/syslog-direct.c) uses make_unix_socket
which is currently undefined on the windows build.

We either can remove the new file from the chain but this patch proposes
to define a wrapper to make_unix_socket in which we return EINVAL.

This will avoid this kind of problems in the future.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
lib/socket-util.h