Skip to content

Commit

Permalink
Fix after changes from giampaolo#564
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb committed Apr 5, 2015
1 parent d478f9b commit 3432cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions psutil/_psutil_openbsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1986,6 +1986,7 @@ void init_psutil_bsd(void)
#else
PyObject *module = Py_InitModule("_psutil_bsd", PsutilMethods);
#endif
PyModule_AddIntConstant(module, "version", PSUTIL_VERSION);
// process status constants
PyModule_AddIntConstant(module, "SSTOP", SSTOP);
PyModule_AddIntConstant(module, "SSLEEP", SSLEEP);
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def get_winver():
'psutil/_psutil_common.c',
'psutil/arch/bsd/process_info_openbsd.c'
],
define_macros=[VERSION_MACRO],
libraries=["kvm"]),
posix_extension,
]
Expand Down

0 comments on commit 3432cee

Please sign in to comment.