Merge pull request #236 from mdomsch/include-stddef

Include <stddef.h> everywhere ptrdiff_t is used
This commit is contained in:
wb2osz 2019-12-07 15:12:38 -05:00 committed by GitHub
commit f08ed518b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 0 deletions

View File

@ -76,6 +76,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
#include <stddef.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>

View File

@ -45,6 +45,7 @@
#include <errno.h> #include <errno.h>
#include <time.h> #include <time.h>
#include <math.h> #include <math.h>
#include <stddef.h>
#if __WIN32__ #if __WIN32__
#error Not for Windows #error Not for Windows

View File

@ -54,6 +54,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <time.h> #include <time.h>
#include <stddef.h>
#include "textcolor.h" #include "textcolor.h"

View File

@ -113,6 +113,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <stddef.h>
#include "tq.h" #include "tq.h"

View File

@ -56,6 +56,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
#include <stddef.h>
#include <string.h> #include <string.h>
#include <getopt.h> #include <getopt.h>
#include <dirent.h> #include <dirent.h>

View File

@ -88,6 +88,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stddef.h>
#include <sys/types.h> #include <sys/types.h>
//#include <sys/stat.h> //#include <sys/stat.h>
//#include <sys/ioctl.h> //#include <sys/ioctl.h>

View File

@ -145,6 +145,7 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <ctype.h> #include <ctype.h>
#include <stddef.h>
#include "tq.h" #include "tq.h"
#include "ax25_pad.h" #include "ax25_pad.h"

View File

@ -60,6 +60,7 @@
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
#include <errno.h> #include <errno.h>
#include <stddef.h>
#include "direwolf.h" #include "direwolf.h"
#include "ax25_pad.h" #include "ax25_pad.h"