Commit 15147d2
committed
Fix kendwood_priv_data definition
When compiling Hamlib 4.6 on Alpine Linux, the build fails with the
following error message:
kenwood.h:186:5: error: unknown type name 'mode_t'; did you mean 'rmode_t'?
According to the man page for mode_t (on Debian), the standard C library
provides this type and it is an integer type. The struct member
last_mode_pc is compared with curr_mode which has type rmode_t so this
commit updates the definition to use this type.
With this change, Hamlib 4.6 builds successfully on Alpine Linux 3.21.0.1 parent c9031ca commit 15147d2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments