소스 검색

heap.h should include dmm_config.h in order to get the number of heaps.

Ioannis Koutras 13 년 전
부모
커밋
3cd04d4b8e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      include/dmmlib/heap.h

+ 2 - 1
include/dmmlib/heap.h

@@ -25,11 +25,12 @@
 #ifndef HEAP_H
 #define HEAP_H
 
+#include "dmm_config.h"
+
 #include <stdint.h>
 #include <stddef.h> /* For size_t support */
 #include <stdbool.h>
 
-#include "dmm_config.h"
 #ifdef HAVE_LOCKS
 #include <pthread.h>
 #endif /* HAVE_LOCKS */