Fix missing inclusion of <limits.h>
authorIsmael Luceno <ismael@iodev.co.uk>
Sun, 15 Sep 2024 20:23:20 +0000 (22:23 +0200)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 20 Feb 2025 07:43:23 +0000 (16:43 +0900)
Needed for PATH_MAX.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
23 files changed:
android/ipc-tester.c
android/system-emulator.c
android/tester-main.c
client/mgmt.c
emulator/serial.c
emulator/vhci.c
monitor/att.c
peripheral/efivars.c
profiles/audio/a2dp.c
src/adapter.c
src/device.c
src/gatt-database.c
src/main.c
src/rfkill.c
src/storage.c
src/textfile.c
tools/bluemoon.c
tools/hciattach.c
tools/hciattach_ath3k.c
tools/hciattach_intel.c
tools/hciattach_st.c
tools/hciattach_ti.c
tools/test-runner.c

index 734aad8040ff90fd8a394427b5d43c036d3b4440..029ed0a8a1b2dddcfe8c4a46ea5c7c0f1194673c 100755 (executable)
@@ -16,6 +16,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <poll.h>
+#include <limits.h>
 
 #include <sys/socket.h>
 #include <sys/types.h>
index 36d133a5dc7dc34ce919d48df27763daa9d65dd4..17ef40613f50e05ef63fcd9f89ff8f48a48df8fc 100755 (executable)
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <signal.h>
 #include <string.h>
+#include <limits.h>
 #include <libgen.h>
 #include <poll.h>
 #include <sys/wait.h>
index 6ebec86e155b8b82eca785ebff5dc151950005ab..564eda430e5d89b74f3c0915511f72b929484dca 100755 (executable)
@@ -5,6 +5,7 @@
  */
 #include <stdbool.h>
 #include <unistd.h>
+#include <limits.h>
 #include <libgen.h>
 
 #include <sys/un.h>
index 413ccb32d665db52c7e52c68ac6e2179337db22e..52d61868b12bf5a066d4574efb1c52d0284df23b 100644 (file)
@@ -16,6 +16,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/socket.h>
index 0edec6e42afc1ac3e0d075eb5072d6821bd3e83c..422a2e338c0bb87d1784a9845db8ed783e7e5828 100755 (executable)
@@ -20,6 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
+#include <limits.h>
 #include <sys/param.h>
 #include <sys/epoll.h>
 #include <sys/uio.h>
index 355ab63897dcc120c60bf9ec2bff7cbc2001b785..cab35354549ebeee7f277e6466645ae74f63d9be 100755 (executable)
@@ -23,6 +23,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <dirent.h>
+#include <limits.h>
 
 #include "lib/bluetooth.h"
 #include "lib/hci.h"
index aff1754f4549a541d71a0e3341395dd5e89fe9fa..279d2fe1352c62ecba30a9b479391a1e7ffa8494 100644 (file)
@@ -21,7 +21,7 @@
 #include <inttypes.h>
 #include <stdbool.h>
 #include <errno.h>
-#include <linux/limits.h>
+#include <limits.h>
 #include <sys/stat.h>
 
 #include <glib.h>
index 387ec8909ef2a445c823a5c2e8e2cfeaf96a24ba..83a118d59be656c547c1be9e92f6cdd5390d3f15 100755 (executable)
@@ -19,6 +19,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <stdint.h>
+#include <limits.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/param.h>
index ac3ce6233d23145495a4abc3b748ad971977f095..f92413f604ff56757594c61da621af5070057a61 100644 (file)
@@ -17,6 +17,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
+#include <limits.h>
 
 #include <dbus/dbus.h>
 #include <glib.h>
index 8f58193fc951662ca7159814edc20d65a70c4893..66ed2d2fad5f010d8b8b966ec9e8a4d075a66f33 100644 (file)
@@ -23,6 +23,7 @@
 #include <sys/file.h>
 #include <sys/stat.h>
 #include <dirent.h>
+#include <limits.h>
 
 #include <glib.h>
 #include <dbus/dbus.h>
index 79b076ddf3359b2705bb16aa3504645dc4195dc8..47914864ab25890a9f3883d7dadb6cee2c239a25 100644 (file)
@@ -21,6 +21,7 @@
 #include <errno.h>
 #include <dirent.h>
 #include <time.h>
+#include <limits.h>
 #include <sys/stat.h>
 
 #include <glib.h>
index 23c51a2ca06748d046e1f497f536979554060ad4..5ecf76540e5b30f90b6b7c491fe4149b4cb07794 100644 (file)
@@ -16,6 +16,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <unistd.h>
+#include <limits.h>
 
 #include "lib/bluetooth.h"
 #include "lib/sdp.h"
index 55353fc720d3c3c089380dbef4968dd858d7ddf5..8402e7f007885b2c5dbb2876739afda1f9489675 100755 (executable)
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <signal.h>
 #include <stdbool.h>
+#include <limits.h>
 #include <sys/signalfd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 92b8b70b8f5f140cf0b6d94fe7468ae2072a7e85..edd169ecf6a23fd2a83c57fc1b063886d9efc11d 100755 (executable)
@@ -19,6 +19,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
+#include <limits.h>
 
 #include <glib.h>
 
index 950d8538d63897e6872630bf8d8b07607515bd9e..d121d0ddf72ecd542df66f4824da60a2836e0a4b 100755 (executable)
@@ -20,6 +20,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <time.h>
+#include <limits.h>
 #include <sys/file.h>
 #include <sys/stat.h>
 
index da8f92036f582bd86f339863c05af6b98bd94ef1..a56aa2bd2bedc5d57776ac1959f14fab16b3608c 100755 (executable)
@@ -20,6 +20,7 @@
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
+#include <limits.h>
 #include <sys/file.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
index f50107a2a7e3634026151cd7ca5b99444abf0f2a..9aaf6428da427916f8e6697eea47e568bdab98ea 100755 (executable)
@@ -18,6 +18,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
+#include <limits.h>
 #include <getopt.h>
 #include <sys/stat.h>
 #include <sys/param.h>
index 80a4228ed65aeec832f7d2561bbc8cf0094c1869..102c7589b3f78004e17262771751599673659573 100755 (executable)
@@ -28,6 +28,7 @@
 #include <termios.h>
 #include <time.h>
 #include <poll.h>
+#include <limits.h>
 #include <sys/time.h>
 #include <sys/param.h>
 #include <sys/ioctl.h>
index 7f99d4f2bdce95d31a0089cfc998b42acb5212ed..69fdcbad83cc55740ed18837924d4537e6f3f34b 100755 (executable)
@@ -15,6 +15,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <time.h>
+#include <limits.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/types.h>
index fba3f66c5c95bc1aa128c7611c1a2e0bc851b13d..18f4d9710c1df41a4e6b828f617825ea0dea65e8 100755 (executable)
@@ -18,6 +18,7 @@
 #include <string.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <limits.h>
 #include <sys/param.h>
 #include <sys/ioctl.h>
 #include <time.h>
index a68a213ae6d792c756b83ee72311ec13458adfe4..ec719ad548125528821005596260ad88b6950a84 100755 (executable)
@@ -12,6 +12,7 @@
 #include <config.h>
 #endif
 
+#include <limits.h>
 #include <stdio.h>
 #include <errno.h>
 #include <fcntl.h>
index f95de84b7c9b79dedf176e21ed274cba57844a2a..263fa89da6f6ea8d3f2bf148b0c3a717dd277c94 100755 (executable)
@@ -13,6 +13,7 @@
 #include <config.h>
 #endif
 
+#include <limits.h>
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
index 61bc0a38129c31e5e285999f9eff2c8073efb491..35bb79d0262c4ce0413236384db1845219554fbb 100755 (executable)
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <getopt.h>
 #include <poll.h>
+#include <limits.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <sys/types.h>