Changeset 2512 for neercs


Ignore:
Timestamp:
Jul 1, 2008, 4:30:18 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Add missing headers and _XOPEN_SOURCE definition to grab.c.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/grab.c

    r2509 r2512  
    1515#include "config.h"
    1616
     17#define _XOPEN_SOURCE 500 /* getsid() */
     18
     19#include <stdio.h>
     20#include <stdlib.h>
    1721#include <errno.h>
    1822#include <fcntl.h>
    1923#include <signal.h>
    20 #include <stdio.h>
    21 #include <stdlib.h>
    2224#include <string.h>
    2325#include <unistd.h>
     26#include <sys/types.h>
     27#include <sys/stat.h>
    2428
    2529#if defined HAVE_LINUX_KDEV_T_H
Note: See TracChangeset for help on using the changeset viewer.