diff --git a/docs.html b/docs.html
index 1a129815d..9d3d14bac 100644
--- a/docs.html
+++ b/docs.html
@@ -16,7 +16,8 @@ be found at the main SDL page.
Major changes since SDL 1.0.0:
- - 1.2.1: Added --disable-dga configure option to disable DGA entirely
+
- 1.2.1: Fixed endian detection on IA64 architectures (thanks Bill!)
+
- 1.2.1: Added --disable-dga configure option to disable DGA
- 1.2.1: Fixed stuck keys when changing the video mode
- 1.2.1: Fixed double-mouse event bug on Windows using OpenGL
- 1.2.1: Fixed 320x200 video mode on framebuffer console
diff --git a/include/SDL_byteorder.h b/include/SDL_byteorder.h
index f70f60997..061a6be65 100644
--- a/include/SDL_byteorder.h
+++ b/include/SDL_byteorder.h
@@ -39,7 +39,7 @@ static char rcsid =
script so that application code can use this too. The "right" way would
be to dynamically generate this file on install, but that's a lot of work.
*/
-#if defined(__i386__) || defined(WIN32) || \
+#if defined(__i386__) || defined(__ia64__) || defined(WIN32) || \
(defined(__alpha__) || defined(__alpha)) || \
defined(__arm__) || \
(defined(__mips__) && defined(__MIPSEL__)) || \