Hi,

I am trying to compile the OpenJDK BSD tree on linux and found that the BSD
changes to include stdint.h for ALLBSD_SOURCE in
jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp has an else that is
unnecessary.  Checking the linux version the following patch will clean up
the includes.

--- /jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp.orig
2009-08-15 00:03:01.654179053 -0400
+++ jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp    2009-08-15
00:16:17.712553563 -0400
@@ -24,8 +24,6 @@
  */
 #ifdef _ALLBSD_SOURCE
 #include <stdint.h>
-#else
-#include <sys/stdint.h>
 #endif
 #include <sys/types.h>

Michael


Reply via email to