summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-02-02 15:06:45 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-02-02 15:06:45 +0000
commita1ddddc934657aa734ceb4bf581423647cc68060 (patch)
tree38cf67fd66476fd9ac4b4246495094b77cd9a57b
parent17c74d656b4ace6f3967b55bbce2f165fbbfbe67 (diff)
Fix compilation issues with UCHAR_MAX, USHRT_MAX and UINT_MAX
-rw-r--r--audio/pcm_bluetooth.c1
-rw-r--r--common/sdp-dummy.c1
-rw-r--r--common/sdp-expat.c1
-rw-r--r--common/sdp-glib.c1
-rw-r--r--sdpd/request.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 6863af56..565fa9ae 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -33,6 +33,7 @@
#include <sys/time.h>
#include <pthread.h>
#include <signal.h>
+#include <limits.h>
#include <netinet/in.h>
diff --git a/common/sdp-dummy.c b/common/sdp-dummy.c
index fa93dc33..16d1d3bd 100644
--- a/common/sdp-dummy.c
+++ b/common/sdp-dummy.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <errno.h>
+#include <limits.h>
#include "logging.h"
#include "sdp-xml.h"
diff --git a/common/sdp-expat.c b/common/sdp-expat.c
index 9026c496..7076261a 100644
--- a/common/sdp-expat.c
+++ b/common/sdp-expat.c
@@ -26,6 +26,7 @@
#endif
#include <stdlib.h>
+#include <limits.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/common/sdp-glib.c b/common/sdp-glib.c
index 9ed81160..bd27d822 100644
--- a/common/sdp-glib.c
+++ b/common/sdp-glib.c
@@ -26,6 +26,7 @@
#endif
#include <stdlib.h>
+#include <limits.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/sdpd/request.c b/sdpd/request.c
index c338bd7d..20e68b62 100644
--- a/sdpd/request.c
+++ b/sdpd/request.c
@@ -32,6 +32,7 @@
#include <errno.h>
#include <stdlib.h>
#include <malloc.h>
+#include <limits.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>