Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/iscsi/dist/src/lib Make sure we include <inttyp...



details:   https://anonhg.NetBSD.org/src/rev/2e8bcf263208
branches:  trunk
changeset: 761839:2e8bcf263208
user:      agc <agc%NetBSD.org@localhost>
date:      Wed Feb 09 00:59:23 2011 +0000

description:
Make sure we include <inttypes.h> if we have it.  From Rumko.

diffstat:

 external/bsd/iscsi/dist/src/lib/initiator.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r d9bedf13b29f -r 2e8bcf263208 external/bsd/iscsi/dist/src/lib/initiator.c
--- a/external/bsd/iscsi/dist/src/lib/initiator.c       Tue Feb 08 23:28:24 2011 +0000
+++ b/external/bsd/iscsi/dist/src/lib/initiator.c       Wed Feb 09 00:59:23 2011 +0000
@@ -58,6 +58,10 @@
 #include <netinet/tcp.h>
 #endif
   
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+  
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
 #endif



Home | Main Index | Thread Index | Old Index