diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-08-22 15:59:18 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-08-22 15:59:18 +0000 |
commit | 242e3b6bdee92f436bac418d4a0385055fcd7a41 (patch) | |
tree | 91fefbe6b5cd3b8fecc704603ffc0e66bd3ffcf9 | |
parent | 60a22addea1a809878758e7b5cc1b0386ea9990a (diff) | |
download | busybox-w32-242e3b6bdee92f436bac418d4a0385055fcd7a41.tar.gz busybox-w32-242e3b6bdee92f436bac418d4a0385055fcd7a41.tar.bz2 busybox-w32-242e3b6bdee92f436bac418d4a0385055fcd7a41.zip |
define inline if needed for ANSI C compatability
-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 */ |