Skip to content

Commit ca85cbc

Browse files
committed
include datetime.h in capi.h, instead of python.h
1 parent 51f93e8 commit ca85cbc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

graalpython/com.oracle.graal.python.cext/include/Python.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -136,7 +136,6 @@
136136
#include "pythread.h"
137137
#include "funcobject.h"
138138
#include "iterobject.h"
139-
#include "datetime.h"
140139
#include "typeslots.h"
141140
#include "weakrefobject.h"
142141
#include "sysmodule.h"

graalpython/com.oracle.graal.python.cext/src/capi.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -49,6 +49,7 @@
4949
#include "Python.h"
5050
#include <truffle.h>
5151
#include <graalvm/llvm/handles.h>
52+
#include "datetime.h"
5253

5354
#define SRC_CS "utf-8"
5455

0 commit comments

Comments
 (0)