commit | 89f7f27a9b06d1cf8b72557296350b47691493ac | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Mon Sep 29 13:29:09 2003 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Mon Sep 29 13:29:09 2003 +0000 |
tree | c6706ebd94341e895f5f31e92ded170a7420ea11 | |
parent | a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4 [diff] [blame] |
last finishing touch to the BeOS patch from Marcin 'Shard' Konicki Daniel * nanoftp.c nanohttp.c: last finishing touch to the BeOS patch from Marcin 'Shard' Konicki Daniel
diff --git a/nanohttp.c b/nanohttp.c index 5072d37..c2c4d30 100644 --- a/nanohttp.c +++ b/nanohttp.c
@@ -101,6 +101,12 @@ #define SOCKET int #endif +#ifdef __BEOS__ +#ifndef PF_INET +#define PF_INET AF_INET +#endif +#endif + #ifndef SOCKLEN_T #define SOCKLEN_T unsigned int #endif