Branch: Tag:

2004-09-26

2004-09-26 15:14:44 by Marcus Comstedt <marcus@mc.pp.se>

Include <devices/timer.h> first on AmigaOS to avoid timeval confusion.

Rev: src/configure.in:1.841
Rev: src/global.h:1.104

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: global.h,v 1.103 2004/09/26 15:12:14 marcus Exp $ + || $Id: global.h,v 1.104 2004/09/26 15:14:44 marcus Exp $   */      #ifndef GLOBAL_H
156:   #define FD_SETSIZE MAX_OPEN_FILEDESCRIPTORS   #endif    + #ifdef HAVE_DEVICES_TIMER_H + /* On AmigaOS, struct timeval is defined in a variety of places +  and a variety of ways. Making sure <devices/timer.h> is included +  first brings some amount of order to the chaos. */ + #include <devices/timer.h> + #endif +    #include <stdio.h>      #ifdef HAVE_STDLIB_H