Skip to content

Commit 1520b2b

Browse files
committed
Include encodings only when needed
1 parent 5196160 commit 1520b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql2/result.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
#include <stdint.h>
44

5+
#ifdef HAVE_RUBY_ENCODING_H
56
#include "mysql_enc_to_ruby.h"
67

7-
#ifdef HAVE_RUBY_ENCODING_H
88
static rb_encoding *binaryEncoding;
99
#endif
1010

0 commit comments

Comments
 (0)