See COPYING. One file, bsd_getopt.c (aka getopt_long.c) is from NetBSD and has a BSD-4 license notice. However, the file in the NetBSD repository has been relicensed without the "obnoxious advertising clause" since then. So BSD should be fine for it, too.
Fixed.