summaryrefslogtreecommitdiff
path: root/preload
diff options
context:
space:
mode:
authorLauri Leukkunen <lleukkun@leka.rahina.org>2006-08-08 01:09:05 +0300
committerLauri Leukkunen <lleukkun@leka.rahina.org>2006-08-08 01:09:05 +0300
commit1ee10186c7520f1a4568a7384dcfbe778edd29b6 (patch)
tree530d35e9edaf2da005f9959f06eb1a2bf6b36015 /preload
parentfc69bf8b17844d5a95888927379f8f0779b433e6 (diff)
* fix <asm/elf.h> issue on debian/sid
* add a configure check for ELF_ARCH, support EM_386 and EM_X86_64 * fix segfault when redir_scripts/parts directory is missing
Diffstat (limited to 'preload')
-rw-r--r--preload/libsb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preload/libsb2.c b/preload/libsb2.c
index 3f68eb4..6fe095b 100644
--- a/preload/libsb2.c
+++ b/preload/libsb2.c
@@ -62,7 +62,7 @@
#endif
#include <elf.h>
-#include <asm/elf.h>
+#include <sys/user.h>
#include <sys/mman.h>
#include "sb_env.h"