Skip to content

Commit

Permalink
Fix compiler error with clang 19
Browse files Browse the repository at this point in the history
This commit fixes the following compiler error.

src/PYLibPinyin.h:53:32: error: unknown type name 'FILE'
   53 |     gboolean exportUserPhrase (FILE *dictfile);
      |                                ^
  • Loading branch information
Biswa96 authored and epico committed Jan 7, 2025
1 parent bab868c commit ce5a8e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PYLibPinyin.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <memory>
#include <time.h>
#include <glib.h>
#include <stdio.h>

typedef struct _pinyin_context_t pinyin_context_t;
typedef struct _pinyin_instance_t pinyin_instance_t;
Expand Down

0 comments on commit ce5a8e0

Please sign in to comment.