aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RegEdit.c1
-rw-r--r--color.c1
-rw-r--r--curl.c1
-rw-r--r--desktop.c1
-rw-r--r--fb-gui.c1
-rw-r--r--fbi.c1
-rw-r--r--fbiconfig.c1
-rw-r--r--fbtools.c1
-rw-r--r--filebutton.c1
-rw-r--r--filelist.c1
-rw-r--r--hex.c1
-rw-r--r--ida.c1
-rw-r--r--idaconfig.c1
-rw-r--r--lirc.c1
-rw-r--r--man.c1
-rw-r--r--misc.h1
-rw-r--r--op.c1
-rw-r--r--parseconfig.c1
-rw-r--r--rd/magick.c1
-rw-r--r--rd/read-bmp.c1
-rw-r--r--rd/read-gif.c1
-rw-r--r--rd/read-pcd.c1
-rw-r--r--rd/read-png.c1
-rw-r--r--rd/read-ppm.c1
-rw-r--r--rd/read-tiff.c1
-rw-r--r--rd/read-webp.c1
-rw-r--r--rd/read-xpm.c1
-rw-r--r--readers.c1
-rw-r--r--sane.c1
-rw-r--r--selections.c1
-rw-r--r--thumbnail.cgi.c1
-rw-r--r--viewer.c1
-rw-r--r--wr/write-png.c1
-rw-r--r--wr/write-ppm.c1
-rw-r--r--wr/write-ps.c1
-rw-r--r--wr/write-tiff.c1
-rw-r--r--x11.c1
-rw-r--r--xdnd.c1
38 files changed, 38 insertions, 0 deletions
diff --git a/RegEdit.c b/RegEdit.c
index a9c5a92..f0ba572 100644
--- a/RegEdit.c
+++ b/RegEdit.c
@@ -26,6 +26,7 @@
* HISTORY
*/
#include <stdio.h>
+#include <stddef.h>
#include <Xm/XmP.h>
#include <X11/ShellP.h>
#include "RegEdit.h"
diff --git a/color.c b/color.c
index 70b7fcd..510b16d 100644
--- a/color.c
+++ b/color.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <math.h>
diff --git a/curl.c b/curl.c
index 498b093..f8f79bd 100644
--- a/curl.c
+++ b/curl.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
diff --git a/desktop.c b/desktop.c
index ba44b31..9dc4794 100644
--- a/desktop.c
+++ b/desktop.c
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
diff --git a/fb-gui.c b/fb-gui.c
index 0243700..3d88100 100644
--- a/fb-gui.c
+++ b/fb-gui.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <math.h>
#include <wchar.h>
diff --git a/fbi.c b/fbi.c
index 420c77e..4ccb401 100644
--- a/fbi.c
+++ b/fbi.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
diff --git a/fbiconfig.c b/fbiconfig.c
index fb41f08..bfe27b8 100644
--- a/fbiconfig.c
+++ b/fbiconfig.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <string.h>
#include <sys/stat.h>
diff --git a/fbtools.c b/fbtools.c
index feac3fe..e201951 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/filebutton.c b/filebutton.c
index b09d730..4e68df0 100644
--- a/filebutton.c
+++ b/filebutton.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <errno.h>
diff --git a/filelist.c b/filelist.c
index 19c85b2..1444559 100644
--- a/filelist.c
+++ b/filelist.c
@@ -6,6 +6,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
diff --git a/hex.c b/hex.c
index 58e2d70..357b996 100644
--- a/hex.c
+++ b/hex.c
@@ -7,6 +7,7 @@
*/
#include <stdio.h>
+#include <stddef.h>
#include <ctype.h>
#include <X11/Xlib.h>
diff --git a/ida.c b/ida.c
index 2a1885f..54f6e69 100644
--- a/ida.c
+++ b/ida.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
diff --git a/idaconfig.c b/idaconfig.c
index 56b97d8..8f3ae42 100644
--- a/idaconfig.c
+++ b/idaconfig.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <string.h>
#include <sys/stat.h>
diff --git a/lirc.c b/lirc.c
index 1428001..04dfe7f 100644
--- a/lirc.c
+++ b/lirc.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
diff --git a/man.c b/man.c
index cb87bb6..1256ef9 100644
--- a/man.c
+++ b/man.c
@@ -5,6 +5,7 @@
*/
#include <stdio.h>
+#include <stddef.h>
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
diff --git a/misc.h b/misc.h
index 92a66bc..98c6455 100644
--- a/misc.h
+++ b/misc.h
@@ -1,6 +1,7 @@
/*
* misc useful #defines ...
*/
+#include <stddef.h>
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
diff --git a/op.c b/op.c
index 862d297..bb484ce 100644
--- a/op.c
+++ b/op.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include "readers.h"
diff --git a/parseconfig.c b/parseconfig.c
index 2ae403e..6163ede 100644
--- a/parseconfig.c
+++ b/parseconfig.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
diff --git a/rd/magick.c b/rd/magick.c
index f17e5e3..e8a0caf 100644
--- a/rd/magick.c
+++ b/rd/magick.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <magick/api.h>
#include "loader.h"
diff --git a/rd/read-bmp.c b/rd/read-bmp.c
index 30b5574..55d8c33 100644
--- a/rd/read-bmp.c
+++ b/rd/read-bmp.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
#ifdef HAVE_ENDIAN_H
diff --git a/rd/read-gif.c b/rd/read-gif.c
index 2ea2947..27c53a8 100644
--- a/rd/read-gif.c
+++ b/rd/read-gif.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <gif_lib.h>
diff --git a/rd/read-pcd.c b/rd/read-pcd.c
index 40c43d5..7f3c95e 100644
--- a/rd/read-pcd.c
+++ b/rd/read-pcd.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
#include "pcd.h"
diff --git a/rd/read-png.c b/rd/read-png.c
index 990ce7e..f06ed6d 100644
--- a/rd/read-png.c
+++ b/rd/read-png.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
#include <png.h>
diff --git a/rd/read-ppm.c b/rd/read-ppm.c
index bdfea1f..3806747 100644
--- a/rd/read-ppm.c
+++ b/rd/read-ppm.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
diff --git a/rd/read-tiff.c b/rd/read-tiff.c
index b88b10c..0742178 100644
--- a/rd/read-tiff.c
+++ b/rd/read-tiff.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <inttypes.h>
#include <tiffio.h>
diff --git a/rd/read-webp.c b/rd/read-webp.c
index 0dfe372..6682a3b 100644
--- a/rd/read-webp.c
+++ b/rd/read-webp.c
@@ -1,5 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
+#include <stddef.h>
#include <errno.h>
#include <webp/decode.h>
diff --git a/rd/read-xpm.c b/rd/read-xpm.c
index affdce6..61e33da 100644
--- a/rd/read-xpm.c
+++ b/rd/read-xpm.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
diff --git a/readers.c b/readers.c
index 065be06..53cb032 100644
--- a/readers.c
+++ b/readers.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include "readers.h"
diff --git a/sane.c b/sane.c
index 6ce75f2..5da6046 100644
--- a/sane.c
+++ b/sane.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
#include <sane/sane.h>
diff --git a/selections.c b/selections.c
index af0c506..4803994 100644
--- a/selections.c
+++ b/selections.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <errno.h>
diff --git a/thumbnail.cgi.c b/thumbnail.cgi.c
index b10ab5b..60fc31f 100644
--- a/thumbnail.cgi.c
+++ b/thumbnail.cgi.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
diff --git a/viewer.c b/viewer.c
index 0bc81f5..2ace20b 100644
--- a/viewer.c
+++ b/viewer.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
diff --git a/wr/write-png.c b/wr/write-png.c
index 39bfcff..c8643a5 100644
--- a/wr/write-png.c
+++ b/wr/write-png.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
#include <png.h>
diff --git a/wr/write-ppm.c b/wr/write-ppm.c
index bd5a0f0..016f0ba 100644
--- a/wr/write-ppm.c
+++ b/wr/write-ppm.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
diff --git a/wr/write-ps.c b/wr/write-ps.c
index adbf72a..261a092 100644
--- a/wr/write-ps.c
+++ b/wr/write-ps.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <errno.h>
#include <inttypes.h>
diff --git a/wr/write-tiff.c b/wr/write-tiff.c
index 9d4910e..29d0788 100644
--- a/wr/write-tiff.c
+++ b/wr/write-tiff.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <string.h>
#include <inttypes.h>
#include <tiffio.h>
diff --git a/x11.c b/x11.c
index ee83781..6d1f9cb 100644
--- a/x11.c
+++ b/x11.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/xdnd.c b/xdnd.c
index f506f47..86f378c 100644
--- a/xdnd.c
+++ b/xdnd.c
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
#include <unistd.h>
#include <X11/Intrinsic.h>