Skip to content

Commit

Permalink
Avoid warning about deprecated <sys/timeb.h> header.
Browse files Browse the repository at this point in the history
On FreeBSD 10.3, including <sys/timeb.h> yields a compile-time
warning.  We don't actually need to include the header at all, on any
platform, because we don't call `ftime`.
  • Loading branch information
eeide committed May 20, 2017
1 parent 0902bbb commit 7ae224b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platform.cpp
Expand Up @@ -44,9 +44,6 @@
# include <config.h>
#endif

#include <sys/types.h>
#include <sys/timeb.h>

#include "platform.h"

#if defined(__powerpc__) || defined(__powerpc64__)
Expand Down

0 comments on commit 7ae224b

Please sign in to comment.