diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-30 19:25:22 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-30 19:25:22 +0000 |
commit | f2f681ca9bf6662d1a4029ecc066239e6497d0bc (patch) | |
tree | f996e332c62590d3fcc850e0390518b979a11d8f /news/leafnode+/files/patch-util.c | |
parent | Properly handle OMF files. (diff) |
Fix build on sparc64 (<sys/types.h> needs to be included before <sys/uio.h>)
Notes
Notes:
svn path=/head/; revision=74300
Diffstat (limited to 'news/leafnode+/files/patch-util.c')
-rw-r--r-- | news/leafnode+/files/patch-util.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/news/leafnode+/files/patch-util.c b/news/leafnode+/files/patch-util.c new file mode 100644 index 000000000000..f569ffeb5c0e --- /dev/null +++ b/news/leafnode+/files/patch-util.c @@ -0,0 +1,18 @@ +--- util.c.orig Thu Jan 30 11:22:45 2003 ++++ util.c Thu Jan 30 11:22:54 2003 +@@ -40,6 +40,7 @@ + #include <assert.h> + #include <stdarg.h> + #include <fcntl.h> ++#include <sys/types.h> + #include <sys/uio.h> + #include <sys/param.h> + #include <sys/socket.h> +@@ -55,7 +56,6 @@ + #include <stdio.h> + #include <string.h> + #include <sys/stat.h> +-#include <sys/types.h> + #include <time.h> + #include <unistd.h> + #include <dirent.h> |