diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-12 03:00:56 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-12 03:00:56 +0000 |
commit | 8a2eff15638d00fe83180799b3a7e48e51b0b13b (patch) | |
tree | 148d8039ee6af172585d866bc9e17666baedc740 /net/dictd/files/patch-libmaa::strtol.c | |
parent | This is ePSXe, a Sony Playstation emulator (Linux binary). (diff) |
Fix build on sparc64 (all the world's not sunos, solaris or linnex)
Notes
Notes:
svn path=/head/; revision=72952
Diffstat (limited to 'net/dictd/files/patch-libmaa::strtol.c')
-rw-r--r-- | net/dictd/files/patch-libmaa::strtol.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dictd/files/patch-libmaa::strtol.c b/net/dictd/files/patch-libmaa::strtol.c new file mode 100644 index 000000000000..648ed0b672d2 --- /dev/null +++ b/net/dictd/files/patch-libmaa::strtol.c @@ -0,0 +1,11 @@ +--- libmaa/strtol.c.orig Sat Jan 11 18:40:34 2003 ++++ libmaa/strtol.c Thu Aug 24 21:59:08 1995 +@@ -25,7 +25,7 @@ + #include <stdlib.h> + #include <errno.h> + +-#ifdef __sparc__ ++#if defined(__sparc__) && !defined(__FreeBSD__) + extern int errno; + extern int toupper(int); + #endif |