26 |
|
#endif |
27 |
|
|
28 |
|
#include "config.h" |
29 |
+ |
#include "user_strings_unix.h" |
30 |
|
|
31 |
|
#ifndef STDC_HEADERS |
32 |
|
#error "You don't have ANSI C header files." |
33 |
|
#endif |
34 |
|
|
35 |
< |
#include <sys/types.h> |
35 |
> |
#ifdef HAVE_UNISTD_H |
36 |
> |
# include <sys/types.h> |
37 |
> |
# include <unistd.h> |
38 |
> |
#endif |
39 |
> |
|
40 |
|
#include <netinet/in.h> |
41 |
|
#include <assert.h> |
42 |
|
#include <stdio.h> |
44 |
|
#include <string.h> |
45 |
|
#include <pthread.h> |
46 |
|
|
42 |
– |
#ifdef HAVE_UNISTD_H |
43 |
– |
# include <unistd.h> |
44 |
– |
#endif |
45 |
– |
|
47 |
|
#ifdef HAVE_FCNTL_H |
48 |
|
# include <fcntl.h> |
49 |
|
#endif |
117 |
|
typedef uae_u32 uaecptr; |
118 |
|
|
119 |
|
/* Alignment restrictions */ |
120 |
< |
#if defined(__i386__) || defined(__powerpc__) |
120 |
> |
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) |
121 |
|
# define CPU_CAN_ACCESS_UNALIGNED |
122 |
|
#endif |
123 |
|
|