Skip to content

Commit

Permalink
sources/util.h: fix warn on rhel builds (#752)
Browse files Browse the repository at this point in the history
Signed-off-by: rkhapov <[email protected]>
Co-authored-by: rkhapov <[email protected]>
  • Loading branch information
rkhapov and rkhapov authored Jan 24, 2025
1 parent e363981 commit d138ad3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sources/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
* Scalable PostgreSQL connection pooler.
*/

#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif

#include <stdio.h>

static inline int od_vsnprintf(char *buf, int size, char *fmt, va_list args)
{
int rc;
Expand Down

0 comments on commit d138ad3

Please sign in to comment.