Ticket #2 (closed bug: fixed)
getopt build error, missing u_int type
| Reported by: | vcaron | Owned by: | ppronchery |
|---|---|---|---|
| Priority: | minor | Component: | Application |
| Keywords: | Cc: |
Description
zerolap:~/src/openmoko/runningbear/trunk/Apps/GNU/Sources/getopt/getopt-2.5$ make gcc -I. -ffreestanding -c -o env/setenv.o env/setenv.c env/setenv.c: In function ‘setenv’: env/setenv.c:90: error: ‘u_int’ undeclared (first use in this function)
Glibc defines a u_int in <sys/types.h> guarded by a #ifdef __USE_BSD. Not an ISO feature it seems.
Change History
Note: See
TracTickets for help on using
tickets.

Fixed, thanks !