Stephen Usher writes:

quota-status.c: In function `main':
quota-status.c:200: error: `optarg' undeclared (first use in this function)
...
It seems that the following C standard header files need to be included in
quota-status.c:

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

It was mentioned a few weeks back (check the archives), but you only need
one of them (which may include the others).  My patch to cope with this

--- a/src/plugins/quota/quota-status.c  Sat Apr 13 02:18:40 2013
+++ b/src/plugins/quota/quota-status.c  Sat Apr 13 02:18:56 2013
@@ -14,0 +14,1 @@
+#include <stdio.h>

This worked for me.

Joseph Tam <[email protected]>

Reply via email to