2008-07-29 11:32:22 +00:00
|
|
|
diff -up freeipmi-0.6.4/libfreeipmi/include/freeipmi/freeipmi.h.argmax freeipmi-0.6.4/libfreeipmi/include/freeipmi/freeipmi.h
|
2008-07-29 12:11:20 +00:00
|
|
|
--- freeipmi-0.6.4/libfreeipmi/include/freeipmi/freeipmi.h.argmax 2008-03-28 01:14:49.000000000 +0100
|
|
|
|
+++ freeipmi-0.6.4/libfreeipmi/include/freeipmi/freeipmi.h 2008-07-29 14:00:21.000000000 +0200
|
|
|
|
@@ -23,6 +23,12 @@
|
2008-07-29 11:32:22 +00:00
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2008-07-29 12:11:20 +00:00
|
|
|
+/* GLIBC >= 2.8 have ARG_MAX replaced by _SC_ARG_MAX. As we need it in an
|
|
|
|
+ * array we need to hardwire it with the Posix.1 minimum of 4096 :/ */
|
|
|
|
+#ifndef ARG_MAX
|
|
|
|
+#define ARG_MAX 4096
|
2008-07-29 11:32:22 +00:00
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#include <freeipmi/api/ipmi-api.h>
|
|
|
|
#include <freeipmi/api/ipmi-chassis-cmds-api.h>
|
|
|
|
#include <freeipmi/api/ipmi-device-global-cmds-api.h>
|