// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: rfc2553emu.cc,v 1.4 1999/12/09 03:45:56 jgg Exp $
+// $Id: rfc2553emu.cc,v 1.6 1999/12/11 02:11:10 jgg Exp $
/* ######################################################################
RFC 2553 Emulation - Provides emulation for RFC 2553 getaddrinfo,
#include "rfc2553emu.h"
#include <stdlib.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <string.h>
#include <stdio.h>
const struct addrinfo *hints,
struct addrinfo **res)
{
- struct addrinfo **Result;
+ struct addrinfo **Result = res;
hostent *Addr;
unsigned int Port;
int Proto;