~ubuntu-branches/ubuntu/precise/wget/precise-proposed

« back to all changes in this revision

Viewing changes to lib/sys_uio.in.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-10-19 00:00:09 UTC
  • mfrom: (2.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20111019000009-8p33w3wz4b1rdri0
Tags: 1.13-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.
  - Depend on libssl-dev 0.9.8k-7ubuntu4 (LP: #503339)
* Dropped changes, superseded in Debian:
  - Keep build dependencies in main:
    + debian/control: remove info2man build-dep
    + debian/patches/series: disable wget-infopod_generated_manpage
  - Mark wget Multi-Arch: foreign, so packages that aren't of the same arch
    can depend on it.
* Pass --with-ssl=openssl; we don't want to use gnutls, there's no udeb for
  it.
* Add a second build pass for the udeb, so we can build without libidn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- buffer-read-only: t -*- vi: set ro: */
 
2
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
 
3
/* Substitute for <sys/uio.h>.
 
4
   Copyright (C) 2011 Free Software Foundation, Inc.
 
5
 
 
6
   This program is free software; you can redistribute it and/or modify
 
7
   it under the terms of the GNU General Public License as published by
 
8
   the Free Software Foundation; either version 3, or (at your option)
 
9
   any later version.
 
10
 
 
11
   This program is distributed in the hope that it will be useful,
 
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
   GNU General Public License for more details.
 
15
 
 
16
   You should have received a copy of the GNU General Public License
 
17
   along with this program; if not, write to the Free Software Foundation,
 
18
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
19
 
 
20
# if __GNUC__ >= 3
 
21
@PRAGMA_SYSTEM_HEADER@
 
22
# endif
 
23
@PRAGMA_COLUMNS@
 
24
 
 
25
#ifndef _@GUARD_PREFIX@_SYS_UIO_H
 
26
 
 
27
#if @HAVE_SYS_UIO_H@
 
28
 
 
29
/* On OpenBSD 4.4, <sys/uio.h> assumes prior inclusion of <sys/types.h>.  */
 
30
# include <sys/types.h>
 
31
 
 
32
/* The include_next requires a split double-inclusion guard.  */
 
33
# @INCLUDE_NEXT@ @NEXT_SYS_UIO_H@
 
34
 
 
35
#endif
 
36
 
 
37
#ifndef _@GUARD_PREFIX@_SYS_UIO_H
 
38
#define _@GUARD_PREFIX@_SYS_UIO_H
 
39
 
 
40
#if !@HAVE_SYS_UIO_H@
 
41
/* A platform that lacks <sys/uio.h>.  */
 
42
/* Get 'ssize_t'.  */
 
43
# include <sys/types.h>
 
44
 
 
45
# ifdef __cplusplus
 
46
extern "C" {
 
47
# endif
 
48
 
 
49
# if !GNULIB_defined_struct_iovec
 
50
/* All known platforms that lack <sys/uio.h> also lack any declaration
 
51
   of struct iovec in any other header.  */
 
52
struct iovec {
 
53
  void *iov_base;
 
54
  size_t iov_len;
 
55
};
 
56
#  define GNULIB_defined_struct_iovec 1
 
57
# endif
 
58
 
 
59
# ifdef __cplusplus
 
60
}
 
61
# endif
 
62
 
 
63
#endif
 
64
 
 
65
#endif /* _@GUARD_PREFIX@_SYS_UIO_H */
 
66
#endif /* _@GUARD_PREFIX@_SYS_UIO_H */