Commit c0e7c171 authored by Kai Vehmanen's avatar Kai Vehmanen

Fixed sip_dig errors when building on VC6/win32.

darcs-hash:20060508104731-77cd4-3889f8890713f48a527b9853e2bf95b477b8beb2.gz
parent d31fbd90
......@@ -135,11 +135,14 @@
#include "config.h"
#if !defined(HAVE_WIN32)
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#include "sofia-sip/su.h"
#include "sofia-resolv/sres.h"
#include "sofia-resolv/sres_record.h"
......@@ -221,6 +224,9 @@ int main(int argc, char *argv[])
struct dig dig[1] = {{ NULL }};
if (su_init() != 0)
return -1;
while (argv[1] && argv[1][0] == '-') {
if (strcmp(argv[1], "-v") == 0)
o_verbatim++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment