Hi, all

I have a very simple code:
=========
#include <sys/sysinfo.h>

int main() {
  struct sysinfo si;
}
=========

On KFreebsd it fails and causes FTBFS:
s.cpp:5:18: error: aggregate ‘main()::sysinfo si’ has incomplete type
and cannot be defined

On other systems it compiles without errors.
What can be a problem in?

Thanks
Anton


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALF6qJm+TPSWGcPSnvz=v-tE3ghPxfgy1Bb=7wgtuo62+_t...@mail.gmail.com

Reply via email to