Skip to content

Commit e4fd5ce

Browse files
committed
fix missing #includes
1 parent b53cfef commit e4fd5ce

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

common/common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#pragma once
44

55
#include "llama.h"
6+
#include "build-info.h"
67

78
#define LOG_NO_FILE_LINE_FUNCTION
89
#include "log.h"

examples/benchmark/benchmark-matmult.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "common.h"
12
#include "ggml.h"
23

34
#include <locale.h>

examples/embd-input/embd-input-lib.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define _GNU_SOURCE
44
#endif
55

6+
#include "common.h"
67
#include "embd-input.h"
78

89
#include <cassert>

examples/quantize-stats/quantize-stats.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "ggml.h"
2-
31
#define LLAMA_API_INTERNAL
2+
#include "common.h"
3+
#include "ggml.h"
44
#include "llama.h"
55

66
#include <algorithm>

examples/quantize/quantize.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "common.h"
12
#include "llama.h"
23

34
#include <cstdio>

0 commit comments

Comments
 (0)