Fix the build where it seems a code fix for Linux was likely untested
on other systems.
Define SCHED_BATCH in test-schedbatch, for systems that don't have it;
the corresponding RH BZ#741090 patch used the magic value 3 in output.c
anyway.
Bug-Debian: http://bugs.debian.org/677055
---------------
* Removed ps -aux bogus message
* w get -i option to display IP addresses
+ * watch 8bit fixes Debian #675069
+ * Fixed FTBFS for non-linux Debian #677055
procps-ng-3.3.3
---------------
"release %s=%d.%d.%d gives version code %d\n",
uts.release, x, y, z, LINUX_VERSION(x,y,z));
#else
+ fprintf(stderr, /* *very* unlikely to happen by accident */
"%s=%d.%d.%d gives version code %d\n",
buf, x, y, z, LINUX_VERSION(x,y,z));
#endif /* __linux__ */
#include <sys/time.h>
#include <sys/resource.h>
+/* Defined in Linux headers only */
+#ifndef SCHED_BATCH
+#define SCHED_BATCH 3
+#endif
+
int main(int argc, const char *argv[])
{
int nice = 19;