diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 61574b5ee..b9852345f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1079,9 +1079,11 @@ uint16_t xatou16(const char *numstr) FAST_FUNC; | |||
1079 | #if ENABLE_FLOAT_DURATION | 1079 | #if ENABLE_FLOAT_DURATION |
1080 | typedef double duration_t; | 1080 | typedef double duration_t; |
1081 | void sleep_for_duration(duration_t duration) FAST_FUNC; | 1081 | void sleep_for_duration(duration_t duration) FAST_FUNC; |
1082 | #define DURATION_FMT "f" | ||
1082 | #else | 1083 | #else |
1083 | typedef unsigned duration_t; | 1084 | typedef unsigned duration_t; |
1084 | #define sleep_for_duration(duration) sleep(duration) | 1085 | #define sleep_for_duration(duration) sleep(duration) |
1086 | #define DURATION_FMT "u" | ||
1085 | #endif | 1087 | #endif |
1086 | duration_t parse_duration_str(char *str) FAST_FUNC; | 1088 | duration_t parse_duration_str(char *str) FAST_FUNC; |
1087 | 1089 | ||