include fixed

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@250 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
jan 2008-03-30 07:11:16 +00:00
parent bf8800c380
commit 8f64f2d2cb
2 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,7 @@ int read_port(){
int len=0; /* Anzahl gelesener Daten */
int i, readlen =1; /* Laufvariable, Lesezaehler */
u_char buffer[INPUT_BUFFERSIZE], *temp = NULL; /* Lesepuffer, Temp-Zeiger */
struct pollfd pfd = {fd, POLLIN, (short)NULL}; /* polling-Optionen */
struct pollfd pfd = {fd, POLLIN, NULL}; /* polling-Optionen */
temp = buffer; /* Temporaerer Zeiger bekommt die Anfangsaddresse vom Puffer */

View File

@ -31,6 +31,7 @@
#include <fcntl.h> /* O_WRONLY O_APPEND O_CREAT ... */
#include <string.h>
#include <signal.h>
#include <time.h>
#include "definitions.h"
#include "config.h"
#include "main.h"