summaryrefslogtreecommitdiff
path: root/tests/test-timer-performance.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-09-15 01:53:09 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-09 10:45:22 -0400
commit7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac (patch)
treebdba881cf8f07846258451a81a03fdec456bcc0e /tests/test-timer-performance.c
parent195dd232ebfd62cf6c461612d3ef7fb3d2a23b30 (diff)
*: make sure zebra.h is always included first
zebra.h pulls in config.h, which results in fiddling with things like __FILE_OFFSET_BITS. It must always be included first, in order to set flags that influence the compiler via <features.h>. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 821df2cf18e5978cc7ab532a8695444380d08270)
Diffstat (limited to 'tests/test-timer-performance.c')
-rw-r--r--tests/test-timer-performance.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-timer-performance.c b/tests/test-timer-performance.c
index a529a5ce0a..ee45ede6ac 100644
--- a/tests/test-timer-performance.c
+++ b/tests/test-timer-performance.c
@@ -22,11 +22,12 @@
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
-#include <stdio.h>
-#include <unistd.h>
#include <zebra.h>
+#include <stdio.h>
+#include <unistd.h>
+
#include "thread.h"
#include "pqueue.h"
#include "prng.h"