~ubuntu-branches/ubuntu/feisty/pvm/feisty

« back to all changes in this revision

Viewing changes to src/waitc.c

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2006-08-09 00:00:40 UTC
  • mfrom: (2.1.5 dapper)
  • Revision ID: james.westby@ubuntu.com-20060809000040-16kh33tmxx2em716
Tags: 3.4.5-7
Build with SHELL=/bin/bash in debian/rules; fixes FTBFS when /bin/sh
isn't bash. (Closes: #379543)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
static char rcsid[] =
3
 
        "$Id: waitc.c,v 1.8 1999/07/08 19:00:18 kohl Exp $";
 
3
        "$Id: waitc.c,v 1.10 2001/02/07 23:16:00 pvmsrc Exp $";
4
4
 
5
5
/*
6
6
 *         PVM version 3.4:  Parallel Virtual Machine System
36
36
 *      Wait context descriptors.
37
37
 *
38
38
 * $Log: waitc.c,v $
 
39
 * Revision 1.10  2001/02/07 23:16:00  pvmsrc
 
40
 * 2nd Half of CYGWIN Check-ins...
 
41
 * (Spanker=kohl)
 
42
 *
 
43
 * Revision 1.9  2000/02/16 22:00:32  pvmsrc
 
44
 * Fixed up #include <sys/types.h> stuff...
 
45
 *      - use <bsd/sys/types.h> for IMA_TITN...
 
46
 *      - #include before any NEEDMENDIAN #includes...
 
47
 * (Spanker=kohl)
 
48
 *
39
49
 * Revision 1.8  1999/07/08 19:00:18  kohl
40
50
 * Fixed "Log" keyword placement.
41
51
 *      - indent with " * " for new CVS.
92
102
 */
93
103
 
94
104
#include <stdio.h>
 
105
 
 
106
#ifdef IMA_TITN
 
107
#include <bsd/sys/types.h>
 
108
#else
 
109
#include <sys/types.h>
 
110
#endif
 
111
 
95
112
#ifdef NEEDMENDIAN
96
113
#include <machine/endian.h>
97
114
#endif
103
120
#endif
104
121
 
105
122
#include <pvm3.h>
106
 
#ifdef WIN32
107
 
#ifndef _XDR_HEADERS
108
 
#define _XDR_HEADERS
 
123
 
 
124
#if defined(WIN32) || defined(CYGWIN)
109
125
#include "..\xdr\types.h"
110
126
#include "..\xdr\xdr.h"
111
 
#endif
112
127
#else
113
128
#include <rpc/types.h>
114
129
#include <rpc/xdr.h>
 
130
#endif
 
131
 
 
132
#ifndef WIN32
115
133
#include <sys/socket.h>
116
134
#include <sys/time.h>
117
135
#endif
118
136
 
119
 
#ifdef IMA_TITN
120
 
#include <bsd/sys/types.h>
121
 
#else
122
 
#include <sys/types.h>
123
 
#endif
124
 
 
125
137
#ifdef  SYSVSTR
126
138
#include <string.h>
127
139
#else