Skip to content

Commit

Permalink
Include stdint.h on all platforms, not only on Linux. It's required to
Browse files Browse the repository at this point in the history
get standard integer types ([u]intX_t) in. This fixes build on macos.
  • Loading branch information
sobomax committed Nov 25, 2008
1 parent fb592d6 commit 5765c34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rtpp_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: rtpp_defines.h,v 1.21 2008/11/03 06:09:56 sobomax Exp $
* $Id: rtpp_defines.h,v 1.22 2008/11/25 06:12:22 sobomax Exp $
*
*/

Expand All @@ -35,9 +35,7 @@
#include <sys/time.h>
#include <sys/resource.h>
#include <poll.h>
#ifdef __linux__
#include <stdint.h>
#endif

#if !defined(__solaris__) && defined(__sun) && defined(__svr4__)
#define __solaris__ 1
Expand Down

0 comments on commit 5765c34

Please sign in to comment.