pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

imap-uw broken



In file included from /usr/include/stdio.h:595,
                 from netmsg.c:30:
netmsg.c: In function 'netmsg_slurp':
netmsg.c:62:45: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
   62 |     sprintf (tmp,".%lx.%lx",(unsigned long) time (0),(unsigned long)getpid ());
      |                                             ^~~~
netmsg.c:35:1: note: 'time' is defined in header '<time.h>'; this is probably fixable by adding '#include <time.h>'
   34 | #include "flstring.h"
  +++ |+#include <time.h>
   35 | ^L
*** Error code 1

+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index