Include <stddef.h> everywhere ptrdiff_t is used

ptrdiff_t is defined in <stddef.h>
This commit is contained in:
Matt Domsch 2019-12-04 21:38:12 -06:00
parent d5cec4dc84
commit 2d4a8f4907
8 changed files with 8 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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