#14590: liboss: compile errors in soundcard.h ----------------------------------+----------------------------------------- Reporter: madcap@sacrilicio.us | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: liboss | ----------------------------------+----------------------------------------- Beginning on line 341 of soundcard.h, several system functions are redefined, such as follows: #ifndef LIBOSS_IOCTL # define LIBOSS_IOCTL ioctl #endif ... static inline int LIBOSS_IOCTL (int x, unsigned long y,...) This causes compilation errors in code including that file, such as: /opt/local/include/liboss/soundcard.h:342: error: static declaration of ‘ioctl’ follows non-static declaration /usr/include/sys/ioctl.h:97: error: previous declaration of ‘ioctl’ was here -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14590> MacPorts </projects/macports> Ports system for Mac OS