diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-08-22 15:59:18 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-08-22 15:59:18 +0000 |
commit | 7e2d5e0f33e1253c1e6807c458c46e01510cfc05 (patch) | |
tree | 91fefbe6b5cd3b8fecc704603ffc0e66bd3ffcf9 | |
parent | 1a78bc242cfed5fe37e64694eb2127db83d20e71 (diff) | |
download | busybox-w32-7e2d5e0f33e1253c1e6807c458c46e01510cfc05.tar.gz busybox-w32-7e2d5e0f33e1253c1e6807c458c46e01510cfc05.tar.bz2 busybox-w32-7e2d5e0f33e1253c1e6807c458c46e01510cfc05.zip |
define inline if needed for ANSI C compatability
git-svn-id: svn://busybox.net/trunk/busybox@5336 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0bc356415..252496e0f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -48,6 +48,10 @@ | |||
48 | # include "sha1.h" | 48 | # include "sha1.h" |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | /* Compatability with ANSI C */ | ||
52 | #ifndef inline | ||
53 | # define inline | ||
54 | #endif | ||
51 | 55 | ||
52 | #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) | 56 | #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) |
53 | /* libc5 doesn't define socklen_t */ | 57 | /* libc5 doesn't define socklen_t */ |