Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h std
AC_C_CONST
AC_C_BIGENDIAN
AC_C_INLINE
AC_C_FLEXIBLE_ARRAY_MEMBER
AC_TYPE_INTPTR_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
Expand Down
2 changes: 1 addition & 1 deletion src/mod/dns.mod/coredns.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ typedef struct {
uint16_t class;
uint32_t ttl;
uint16_t datalength;
uint8_t data[];
uint8_t data[FLEXIBLE_ARRAY_MEMBER];
} res_record;

#ifndef HFIXEDSZ
Expand Down