Closed anubisg1 closed 10 years ago
this patch fixes the problem:
diff -uNr old-iouyap-0.1/iouyap.h iouyap-0.1/iouyap.h
--- old-iouyap-0.1/iouyap.h 2014-06-15 19:36:29.433213973 +0200
+++ iouyap-0.1/iouyap.h 2014-06-15 19:37:57.551611109 +0200
@@ -89,6 +89,11 @@
#define UNIX_PATH_MAX sizeof(sizecheck.sun_path)
#endif
+/* Not everyone has IFF_MULTI_QUEUE */
+#ifndef IFF_MULTI_QUEUE
+#define IFF_MULTI_QUEUE 0x0100
+#endif
+
/* Logging levels */
enum {LOG_QUIET, LOG_BASIC, LOG_EXTENDED, LOG_NOISY, LOG_CRAZY};
after commit 1c7c6686ba78539f726630c59033449ac1efa4ac While compiling iouyap, on some systems (for example opensuse 12.3) IFF_MULTI_QUEUE is not supported. this cause to fail to compile iouyap