diff options
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r-- | xdelta3/xdelta3.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h index 3aab8b6..b3e79f5 100644 --- a/xdelta3/xdelta3.h +++ b/xdelta3/xdelta3.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #ifndef _XDELTA3_H_ | 24 | #ifndef _XDELTA3_H_ |
25 | #define _XDELTA3_H_ | 25 | #define _XDELTA3_H_ |
26 | 26 | ||
27 | #include <stddef.h> | ||
27 | #include <stdlib.h> | 28 | #include <stdlib.h> |
28 | #include <string.h> | 29 | #include <string.h> |
29 | #include <sys/types.h> | 30 | #include <sys/types.h> |
@@ -671,8 +672,8 @@ struct _xd3_whole_state { | |||
671 | struct _xd3_sec_cfg | 672 | struct _xd3_sec_cfg |
672 | { | 673 | { |
673 | int data_type; /* Which section. (set automatically) */ | 674 | int data_type; /* Which section. (set automatically) */ |
674 | int ngroups; /* Number of DJW Huffman groups. */ | 675 | usize_t ngroups; /* Number of DJW Huffman groups. */ |
675 | int sector_size; /* Sector size. */ | 676 | usize_t sector_size; /* Sector size. */ |
676 | int inefficient; /* If true, ignore efficiency check [avoid XD3_NOSECOND]. */ | 677 | int inefficient; /* If true, ignore efficiency check [avoid XD3_NOSECOND]. */ |
677 | }; | 678 | }; |
678 | 679 | ||