Skip to content

Commit eb21aa0

Browse files
committed
Missing include for gumbo_debug
1 parent 9ee83f5 commit eb21aa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gumbo/util.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ static inline bool gumbo_isalpha(int c)
7171
return (c | 0x20) >= 'a' && (c | 0x20) <= 'z';
7272
}
7373

74-
#ifdef GUMBO_DEBUG
74+
#if defined(GUMBO_DEBUG)
7575
// Debug wrapper for printf, to make it easier to turn off debugging info when
7676
// required.
77+
#include <stdio.h>
7778
#define gumbo_debug(...) fprintf(stderr, __VA_ARGS__)
7879
#else
7980
#define gumbo_debug(...)

0 commit comments

Comments
 (0)