Skip to content

Commit

Permalink
Merge pull request #21 from a-wai/fix-build-gcc-10
Browse files Browse the repository at this point in the history
jabber_http_file_upload: fix build with gcc 10
  • Loading branch information
Junker authored Jul 28, 2020
2 parents aac06a4 + c86f05d commit d4af654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/jabber_http_file_upload.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "hfu_util.h"
#include "jabber_http_file_upload.h"

GHashTable *HFUJabberStreamDataTable;

GList *(*old_blist_node_menu)(PurpleBlistNode *node);

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion src/jabber_http_file_upload.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ typedef struct _HFUXfer {
GHashTable *put_headers;
} HFUXfer;

GHashTable *HFUJabberStreamDataTable;
extern GHashTable *HFUJabberStreamDataTable;

#define NS_HTTP_FILE_UPLOAD "urn:xmpp:http:upload"
#define NS_HTTP_FILE_UPLOAD_V0 "urn:xmpp:http:upload:0"
Expand Down

0 comments on commit d4af654

Please sign in to comment.