Re: [Dovecot] Dovecot 2.1.16: Quota plugin compile fails: Solaris 10
17 Apr
2013
17 Apr
'13
2:14 a.m.
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 <jtam.home@gmail.com>
4275
Age (days ago)
4275
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joseph Tam