openbsd-ports/x11/xdrawchem/patches/patch-xdrawchem_application_cpp
ajacoutot 1b1091419f Import xdrawchem-1.9.9
XDrawChem is a two-dimensional molecule drawing program for Unix
operating systems.  It is similar in functionality to other molecule
drawing programs such as ChemDraw (TM, CambridgeSoft).  It can read and
write MDL Molfiles, and read ChemDraw text and binary files, to allow
sharing between XDrawChem and other chemistry applications, and it can
create images in popular formats like PNG and EPS.

ok mbalmer@
2007-01-23 15:43:05 +00:00

12 lines
341 B
Plaintext

$OpenBSD: patch-xdrawchem_application_cpp,v 1.1.1.1 2007/01/23 15:43:05 ajacoutot Exp $
--- xdrawchem/application.cpp.orig Tue Jan 16 16:05:03 2007
+++ xdrawchem/application.cpp Tue Jan 16 16:05:40 2007
@@ -58,6 +58,7 @@ using std::endl;
#ifdef UNIX
#include <stdlib.h>
#include <time.h>
+#include <unistd.h>
#endif
#include "defs.h"