Don't declare optarg and optind unconditional
Don't declare optarg and optind unconditional

The comment suggests that this is for VxWorks, so make it conditional
for VxWorks, as it conflicts with the system headers when used in
combination with getopt on Linux, for example.

Signed-off-by: Klaus Kämpf <a2d9296eff59242585f43255819fff5d1f11d6ee@suse.de>

Openwsman/openwsman,photron/openwsman,vcrhonek/openwsman,photron/openwsman,photron/openwsman,kkaempf/openwsman,kkaempf/openwsman,Openwsman/openwsman,photron/openwsman,Openwsman/openwsman,Openwsman/openwsman,kolbma/openwsman,vcrhonek/openwsman,photron/openwsman,vcrhonek/openwsman,photron/openwsman,kolbma/openwsman,Openwsman/openwsman,kkaempf/openwsman,Openwsman/openwsman,kolbma/openwsman,kkaempf/openwsman,vcrhonek/openwsman,kkaempf/openwsman,kolbma/openwsman,kkaempf/openwsman,kkaempf/openwsman,kolbma/openwsman,Openwsman/openwsman,vcrhonek/openwsman,kolbma/openwsman,vcrhonek/openwsman,vcrhonek/openwsman,kolbma/openwsman,photron/openwsman