Skip to content

Commit

Permalink
Add missing config.h to build failure with strict checking
Browse files Browse the repository at this point in the history
Without the config, clang complains about conflicting types

reader-tr03119.c:138:5: error: conflicting types for 'escape_pace_input_to_buf'
int escape_pace_input_to_buf(sc_context_t *ctx,
    ^
./reader-tr03119.h:87:5: note: previous declaration is here
int escape_pace_input_to_buf(sc_context_t *ctx,
    ^
  • Loading branch information
Jakuje committed Jan 22, 2024
1 parent 5362ee4 commit 12e2ea0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libopensc/reader-tr03119.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include "reader-tr03119.h"
#include "ccid-types.h"
#include "internal.h"
Expand Down

0 comments on commit 12e2ea0

Please sign in to comment.