diff -r apache_1.2.4.orig/src/Configure apache_1.2.4/src/Configure
189a190,195
>     *mint)
>         OS="MiNT"
>         CFLAGS="-DMINT"
>         LIBS="$LIBS -lportlib -lsocket"
>         DEF_WANTHSREGEX=yes
>         ;;
diff -r apache_1.2.4.orig/src/conf.h apache_1.2.4/src/conf.h
63c63,75
< #if defined(MPE)
---
> #if defined(MINT)
> typedef int rlim_t;
> #define HAVE_SYS_RESOURCE_H
> #define JMP_BUF sigjmp_buf
> #define NO_LONG_DOUBLE
> #define USE_FLOCK_SERIALIZED_ACCEPT
> #define _BSD_SOURCE
> #define EAGAIN EACCESS
> int initgroups (char *, int);     
> char *crypt (const char *pw, const char *salt);
> int gethostname (char *name, int namelen);
> 
> #elif defined(MPE)
diff -r apache_1.2.4.orig/src/helpers/GuessOS apache_1.2.4/src/helpers/GuessOS
58a59,61
>     MiNT:*)
>         echo "m68k-atari-mint"; exit 0
> 	;;
diff -r apache_1.2.4.orig/src/http_main.c apache_1.2.4/src/http_main.c
110a111,114
> #ifdef MINT
> long _stksize = 32768;
> #endif
> 
1675c1679
< #if defined(UW)
---
> #if defined(UW) || defined(MINT)
2443a2448,2450
> #ifdef MINT
> 	size_t c; 
> #endif
