~ubuntu-branches/ubuntu/quantal/mc/quantal

« back to all changes in this revision

Viewing changes to vfs/samba/lib/netmask.c

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Drolez
  • Date: 2006-08-24 22:19:03 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060824221903-v7g8c4t1het21fy8
Tags: 1:4.6.1-6
* debian/rules modified to fix a FTBFS during the 2nd build. Closes: #384302
* added 05_symcrash.patch to fix a segfault (should be in mc's CVS). Closes: #383341
* mpg123 title view fixed. Closes: #391644

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
   
17
17
   You should have received a copy of the GNU General Public License
18
18
   along with this program; if not, write to the Free Software
19
 
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
19
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
20
*/
21
21
 
22
22
 
234
234
#elif defined(HAVE_NETMASK_AIX)
235
235
 
236
236
#include <stdio.h>
 
237
#ifdef  HAVE_UNISTD_H
 
238
#include <unistd.h>     /* close() declaration for gcc in fussy mode */
 
239
#endif
237
240
#include <sys/types.h>
238
241
#include <sys/socket.h>
239
242
#include <netinet/in.h>
246
249
#include <sys/sockio.h>
247
250
#endif
248
251
 
 
252
/*
 
253
 * Prototype for gcc in fussy mode.
 
254
 */
 
255
 
 
256
int get_netmask(struct in_addr *ipaddr, struct in_addr *nmask);
 
257
 
249
258
/****************************************************************************
250
259
this one is for AIX
251
260
****************************************************************************/
 
261
 
252
262
 int get_netmask(struct in_addr *ipaddr, struct in_addr *nmask)
253
263
{
254
264
        char buff[2048];