From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alberto Subject: dereferencing pointer to incomplete type in current->pid Date: Fri, 22 Nov 2002 20:10:01 +0100 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <3DDE8109.375DA70C@upsa.es> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hi, I'm triying to work with the current macro. When i compile this code i get the message: "dereferencing pointer to incomplete type". Any idea? Thanks in advance #include #include #include #include main (void) { printf (" pid %l\n", current->pid ); }