FreeBSD updates, make things compile on Linux 2.2 kernels

This commit is contained in:
Wichert Akkerman 2000-10-13 12:47:12 +00:00
parent 2e4ffe59b5
commit d856b99aff
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-10-12 Wichert Akkerman <wakkerma@debian.org>
* time.c: use sys/timex.h so things compile with 2.2 kernels
* stream.c: test if MSG_* constants are #defined
2000-09-03 Wichert Akkerman <wakkerma@debian.org>
* process.c: perform bpt trick for clone as well so we can get the

View File

@ -178,9 +178,15 @@ struct tcb *tcp;
#ifdef HAVE_PUTPMSG
static struct xlat pmsgflags[] = {
#ifdef MSG_HIPRI
{ MSG_HIPRI, "MSG_HIPRI" },
#endif
#ifdef MSG_AND
{ MSG_ANY, "MSG_ANY" },
#endif
#ifdef MSG_BAND
{ MSG_BAND, "MSG_BAND" },
#endif
{ 0, NULL },
};

2
time.c
View File

@ -33,7 +33,7 @@
#ifdef LINUX
#include <linux/version.h>
#include <linux/timex.h>
#include <sys/timex.h>
#endif /* LINUX */
void