Skip to content

Commit 5547f8f

Browse files
committed
Fix: Resolve compilation issue with Libxc 7.0.0 in ABACUS
1 parent e2e3d75 commit 5547f8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/module_hamilt_general/module_xc/xc_functional.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#ifdef USE_LIBXC
99
#include <xc.h>
10+
#include <xc_funcs.h>
1011
#else
1112
#include "xc_funcs.h"
1213
#endif // ifdef USE_LIBXC

source/module_hamilt_general/module_xc/xc_functional_libxc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "module_base/vector3.h"
88

99
#include <xc.h>
10+
#include <xc_funcs.h>
1011

1112
#include <tuple>
1213
#include <vector>

0 commit comments

Comments
 (0)