Index: uspace/app/pcc/cc/ccom/pftn.c
===================================================================
--- uspace/app/pcc/cc/ccom/pftn.c	(revision e4f8c77d2f0ec68a5943a6b063aaa901dc22d1b4)
+++ uspace/app/pcc/cc/ccom/pftn.c	(revision e6910c8cba8ef767d08e484d4d27dc60eb1d67ef)
@@ -1140,4 +1140,10 @@
 
 	ap = attr_find(apl, ATTR_BASETYP);
+	
+	if (ap == NULL) {
+		cerror("unknown type");
+		return SZINT;
+	}
+	
 	sz = ap->atypsz;
 	
Index: uspace/app/pcc/config.h
===================================================================
--- uspace/app/pcc/config.h	(revision e4f8c77d2f0ec68a5943a6b063aaa901dc22d1b4)
+++ uspace/app/pcc/config.h	(revision e6910c8cba8ef767d08e484d4d27dc60eb1d67ef)
@@ -33,5 +33,5 @@
 
 /* Define to 1 if you have the `ffs' function. */
-//#define HAVE_FFS 1
+#define HAVE_FFS 1
 
 /* Define to 1 if you have the `getopt' function. */
@@ -63,5 +63,5 @@
 
 /* Define to 1 if you have the <strings.h> header file. */
-//#define HAVE_STRINGS_H 1
+#define HAVE_STRINGS_H 1
 
 /* Define to 1 if you have the <string.h> header file. */
