mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 7.4.2062
Problem: Using dummy variable to compute struct member offset. Solution: Use offsetof().
This commit is contained in:
@@ -505,6 +505,9 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
|
||||
/* for offsetof() */
|
||||
#include <stddef.h>
|
||||
|
||||
#if defined(HAVE_SYS_SELECT_H) && \
|
||||
(!defined(HAVE_SYS_TIME_H) || defined(SYS_SELECT_WITH_SYS_TIME))
|
||||
# include <sys/select.h>
|
||||
|
Reference in New Issue
Block a user