* khttpd patch (hack)
@ 1999-11-25 2:30 Bibek Sahu
0 siblings, 0 replies; only message in thread
From: Bibek Sahu @ 1999-11-25 2:30 UTC (permalink / raw)
To: axp-list, linux-kernel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 523 bytes --]
<sigh> I knew I spoke too soon.
I successfully built the kernel, but it broke on the modules.
Specifically khttpd.
I added a line to have it #define __KERNEL_SYSCALLS__ before
including <asm/unistd.h>. To me, this seems very much line a hack, but I
admit I don't know too well how this stuff is supposed to work.
Anyway, I made sure the entire kernel built this time (modules &
all), so this should be the last one. As this fix is not alpha-specific,
I'm also sending it to the linux-kernel list.
Enjoy,
- Bob
[-- Attachment #2: Type: TEXT/PLAIN, Size: 491 bytes --]
--- linux-2.3.29/net/khttpd/main.c.orig Tue Aug 31 13:30:48 1999
+++ linux-2.3.29/net/khttpd/main.c Wed Nov 24 20:20:38 1999
@@ -58,6 +58,8 @@
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/smp_lock.h>
+
+#define __KERNEL_SYSCALLS__
#include <asm/unistd.h>
#include "structure.h"
@@ -177,8 +179,6 @@
static int CountBuf[CONFIG_KHTTPD_NUMCPU];
static int errno;
-inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options);
-
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-11-25 2:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-25 2:30 khttpd patch (hack) Bibek Sahu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox