summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radmsg.c4
-rw-r--r--tlv11.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/radmsg.c b/radmsg.c
index 0ea6ee7..ef1c179 100644
--- a/radmsg.c
+++ b/radmsg.c
@@ -6,7 +6,11 @@
* copyright notice and this permission notice appear in all copies.
*/
+#ifdef SYS_SOLARIS9
+#include <sys/inttypes.h>
+#else
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
diff --git a/tlv11.c b/tlv11.c
index 2593c15..d5d66aa 100644
--- a/tlv11.c
+++ b/tlv11.c
@@ -6,7 +6,11 @@
* copyright notice and this permission notice appear in all copies.
*/
+#ifdef SYS_SOLARIS9
+#include <sys/inttypes.h>
+#else
#include <stdint.h>
+#endif
#include "list.h"
#include "tlv11.h"
#include <stdlib.h>