included <unistd.h> for BSD compatibility

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@111 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-01-07 18:58:01 +00:00
parent 71a390affd
commit e68725fc7a

View File

@ -1,7 +1,7 @@
/*
* vte.h - this file is part of Geany, a fast and lightweight IDE
*
* Copyright 2005 Enrico Troeger <enrico.troeger@uvena.de>
* Copyright 2006 Enrico Troeger <enrico.troeger@uvena.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -24,7 +24,10 @@
#ifndef GEANY_VTE_H
#define GEANY_VTE_H 1
/* include stdlib.h AND unistd.h, because on GNU/Linux pid_t seems to be
* in stdlib.h, on FreeBSD in unistd.h */
#include <stdlib.h>
#include <unistd.h>
void vte_init(void);