~ubuntu-branches/ubuntu/edgy/curl/edgy

« back to all changes in this revision

Viewing changes to lib/hostasyn.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060629150424-pn00qumt9sml8p4m
Tags: 7.15.4-1ubuntu1
Synchronize to Debian. Only change left: Removal of stunnel and
libdb4.2-dev build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
 * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
9
9
 *
10
10
 * This software is licensed as described in the file COPYING, which
11
11
 * you should have received as part of this distribution. The terms
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: hostasyn.c,v 1.11 2005/04/19 23:19:23 bagder Exp $
 
21
 * $Id: hostasyn.c,v 1.13 2006-05-04 22:39:47 bagder Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#include "setup.h"
25
25
 
26
26
#include <string.h>
27
 
#include <errno.h>
28
27
 
29
 
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
 
28
#ifdef HAVE_MALLOC_H  /* Win32 */
30
29
#include <malloc.h>
31
 
#else
 
30
#endif
32
31
#ifdef HAVE_SYS_TYPES_H
33
32
#include <sys/types.h>
34
33
#endif
55
54
#include <inet.h>
56
55
#include <stdlib.h>
57
56
#endif
58
 
#endif
59
57
 
60
58
#ifdef HAVE_SETJMP_H
61
59
#include <setjmp.h>
62
60
#endif
63
61
 
64
 
#ifdef WIN32
 
62
#ifdef HAVE_PROCESS_H
65
63
#include <process.h>
66
64
#endif
67
65